In woodworking and construction, a nail is a pin-shaped object of metal which is used as a fastener, as a peg to hang something, or sometimes as a decoration. Generally, nails have a sharp point on one end and a flattened head on the other, but headless nails are available