Air compressors work by forcing atmospheric air under pressure to create potential energy that can be stored in a tank for later use. Just like an open balloon, the pressure builds up when the compressed air is deliberately released, converting the potential energy into usable kinetic energy.