A safety pin is a small, handy invention of wire and thin metal used for holding together pieces of cloth.