Framing nailers use power shoot nails into wood. The power they use can be derived from an air compressor (for pneumatic/air-powered models) or a battery (for cordless units).
Pneumatic nailers use compressed air from an air compressor to work as a propellant for firing nails. On the other hand, the cordless generate hammering force from the combination of battery and fuel cartridge.