A nail gun, nailgun or nailer is a type of tool used to drive nails into wood or some other kind of material. It is usually driven by electromagnetism, compressed air (pneumatic), highly flammable gases such as butane or propane, or, for powder-actuated tools, a small explosive charge. Nail guns have in many ways replaced hammers as tools of choice among builders.