In residential heating, convection is the mechanism by which heat is lost by warm air leaking to the outside when the doors are opened, or cold air leaking into the house through the cracks or openings in walls, windows, or doors. When cold air comes in contact with the heater in a room, it absorbs the heat and rises.