A pneumatic nail gun works by using compressed air to generate a hammering force, generally through a separate gas-powered air compressor. Usually these air compressors have several piston cylinders that bring in air and push it out to the gun. The force this creates makes it possible for the gun to fire nails with enough force to make them efficient.
Pneumatic nail guns are the most popular models available. They use air compressors that operate in the same basic way as most water pumps, allowing them to generate a great deal of force on a downstroke. The constant supply of compressed air flowing through a hose into the gun's air reservoir makes it a powerful and flexible tool.
Pneumatic nail guns have a sliding piston that drives a blade. When the air pressure changes greatly, it forces this piston down. The trigger of the pneumatic nail gun controls the pressure around the sliding piston. Pulling the trigger results in a great enough increase in air pressure to activate the piston and fire the gun. When the piston and blade are forced downward, the nail is forced out of the chamber at a very high speed. This drives the nail into the surface.