<human>:  When does a phase transition occur?
<bot>: A phase transition occurs when a system changes from one phase to another. For example, when water freezes, it changes from a liquid to a solid. A phase transition is a fundamental property of matter, and it is a key concept in physics.