What happens when a chemical hand warmer is unwrapped and starts to work?

A chemical reaction releases thermal energy.

This energy is transferred to the surrounding air, causing the hand warmer to heat up. The heat is then transferred to the user's hands, providing warmth.