[see also: paste
Then M is obtained by glueing <gluing> X to Y along Z.
There is a natural way to glue the associated varieties together along their common boundary.