The molecules in a gas or liquid bounce or flow around each other freely. When the material changes into a solid state, the molecules lock together. As they do, they link to one another in a uniform pattern that is repeated over and over. The result is known as a crystal.