The particle model of matter
All matter is made of particles that are always moving. How fast they move and how far apart they are is what tells a solid, a liquid and a gas apart.
A worked example
Heating ice adds energy to its particles. They vibrate faster until the solid's rigid arrangement breaks down, and then the particles can slide past each other as a liquid.
The mistake people actually make
Melting, freezing, boiling and condensing only rearrange the particles that are already there. Nothing is added, removed or changed into a different substance, which is what makes a change of state a physical change, not a chemical one.