A rivet is a fastener that consists of a cylindrical shaft with a head on one end and a smooth shank on the other. It is used to hold two pieces of material together by being inserted through both materials, then deformed so it can no longer be removed without damaging itself or the surrounding material. Rivets are commonly found in various industries such as construction, automotive, aviation, and jewelry making.