There is a push switch near the refrigerator door. When you close the door, the door pushes the switch with its curve surface. This type of push-switch works completely differently than a normal switch. It disconnects the light bulb when the door pushes it. Now many modern refrigerators use sensors to on and off light bulbs.