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 compressed air (pneumatic), electromagnetism, highly flammable gases such as butane or propane.