Answer :
Heat is released when a substance changes from a gas to a liquid, or from a liquid to a solid.
When a liquid changes to a solid, we refer to that as the process of 'freezing'.
When a liquid changes to a solid, we refer to that as the process of 'freezing'.