...A gas is a gas. Heated, they expand. Cooled, they contract. Alternately, compress them they get hot, or evacuate them and they cool. Boyle's Law is pretty simple. Steam just provides a dramatic example because it contracts so very much when it is cooled that it actually creates a vacuum...