Solid wax is heated until it melts in a boiling tube and is then left to cool down. The graph shows the cooling curve. What is taking place between points $X$ and $Y$?
- AThe liquid is at its boiling point.
- BThe liquid is turning to solid.
- CThe solid has reached room temperature.
- DThe solid is turning to liquid.