Nail guns, staple guns, and riveting tools join two or more pieces of material. Nail guns (sometimes called nailers) are used in construction and other tasks to drive nails and pins quickly, accurately, and with less effort than manual hammers. Staple guns hold strips of U-shaped fasteners. They are used to join two pieces of thin wood or can be used to secure wire or cording. Riveting tools use rivets to join two pieces of metal. Rivets are placed into a hole and crimped around the edges of the hole to secure the pieces in place.