The correct option is D Melting
∙ When a substance changes its state from liquid to gas on heating, it is said to be boiling and when a substance changes its state from solid to liquid on heating, it is said to be melting.
∙ When a substance changes its state from gas to liquid on cooling, the process is called condensation also when a substance changes its state from liquid to solid on cooling, the process is called freezing.
So, freezing and condensation involve loss of heat whereas boiling and melting involve the gain of heat.