A safety pin is a simple metal fastener with a spring mechanism, commonly used to temporarily hold pieces of fabric or clothing together. It is a handy everyday tool for quick repairs and securing items.