Matter cannot be created or destroyed, but can change from one state to the other with the application or removal of heat (temperature). Each time matter changes state, it is simply the movement of molecules in them speeding up or slowing down.
For example:Let us use water as an example. At room temperature, water is a liquid, and the molecules in it move slowly. When you apply heat (or raise the temperature) the molecules move faster and faster. With more heat, the liquid state will change to gas, because the molecules would be moving so fast and taking up space everywhere.
The scientific term for water turning into gas (vapour) as a result of heat application is evaporation (to evaporate). Water evaporates when it reaches boiling point. When you reduce the heat and bring down the temperature in the gas, the molecules in the vapour slow down and gradually turn back into liquid. The scientific term for gas turning into liquid as a result of heat loss is condensation (to condense).
If you take away all the heat (put it in a freezer), the molecules will be extremely slow and move very little. They will hold to each other, turning the water into a solid (ice). The point at which water turns into ice is called ‘Freezing point’.
Now, take the ice (solid) from the freezer, and place it in room temperature. Soon the ice begins to melt. The point at which solids melt into liquid is known as melting point.