Compressing air to fill a scuba tank warms it up. A dive shop compensates by putting the tank in a tub of water, keeping the tank and the gas inside it at a constant temperature as it is filled.