automatic snap mate in assembly

Hi, I have a question on mating. I notice that some people mate their models by dragging the models in an assembly then everything snaps in place without using any types of mating at all. How can we determine the parts stay in their place correctly?

SolidworksAssemblies