A rivet is a permanent mechanical fastener. Before being installed, a rivet consists of a smooth cylindrical shaft with a head on one end. The end opposite the head is called the tail. On installation, the deformed end is called the shop head or buck-tail.
Because there is effectively a head on each end of an installed rivet, it can support tension loads. However, it is much more capable of supporting shear loads (loads perpendicular to the axis of the shaft).