It is an automatic, self-closing safety latch commonly used to secure windows, cabinet doors, cages, gates, or interior doors. Pulling the ring retracts the spring-loaded beveled pin, and releasing it or closing the door allows the pin to spring back out automatically to lock or latch the mechanism in place.