Meshing
verb
To connect together by interlocking, as gears do.
(by extension) To fit in; to come together harmoniously.
“The music meshed well with the visuals in that film.”
To catch in a mesh.
noun
The act by which something meshes or interlocks.
“the meshings of gears”