Many types of pins are used in assemblies: cotter pins, for instance, for securing the wheel of a vehicle or bicycle, and dowel pins, which are used to align parts.