Answer :
When the molecules in a solid are heated (heat is the same as molecular movement) they move faster due to the energy gain and when they have enough energy they can overcome the attraction they have between each other and break their bonds to form a liquid, and if heated further a gas.