Molecules in the air are heated and cooled.