A rivet is a mechanical fastener composed of a head on one end and a cylindrical stem on another (called the tail) which has the appearance of a metal pin.A headed pin or bolt of metal used for uniting two or more pieces by passing the shank through a hole in each piece and then beating or pressing down the plain end so as to make a second head.