When a substance is entering a phase change, the gain or loss of heat is a result of energy gained or lost in forming or breaking intermolecular interaction.
The constant temperatures occur when a substance is undergoing a phase transition. If heat is removed from a substance , such as in freezing and condensation , then the process is exothermic . In this instance , heat is decreasing the speed of the molecules causing then move slower.
In chemistry and thermodynamics, phase transitions (or phase changes) are the physical processes of transition between a state of a medium, identified by some parameters, and another one, with different values of the parameters.
Commonly the term is used to refer to changes among the basic states of matter: solid, liquid, and gas, as well as plasma in rare cases.
For example, a phase of a thermodynamic system and the states of matter have uniform physical properties. During a phase transition of a given medium, certain properties of the medium change, often discontinuously, as a result of the change of external conditions, such as temperature, pressure, or others.
For example, a liquid may become gas upon heating to the boiling point, resulting in an abrupt change in volume. The measurement of the external conditions at which the transformation occurs is termed the phase transition. Phase transitions commonly occur in nature and are used today in many technologies.
Learn more about phase change here :
brainly.com/question/12390797
#SPJ4