Object snapping?

Is there any way to snap objects to together, so that they move in sync without having to select both objects, if so how do I do it?