rivet: heavy pin having a head at one end and the other end being hammered flat after being passed through holes in the pieces that are fastened together
pin: a small slender (often pointed) piece of wood or metal used to support or fasten or attach things