Your fridge light goes off when you shut the door, and you have never seen it happen.
In 1934, Frederick H. Osborne filed a US patent, assigned to Ranco Inc., for a "Refrigerator door lamp switch". It was granted in 1938.
Here's the weird part. Inside, a spring pushes a little rod out toward the door. Shut the door, and the rod is pressed in, which opens the lamp circuit. The light goes out. Open the door, and the spring pushes the rod back out, and the light comes on.
Why not leave it on? A bulb inside a closed fridge would only add heat to a box that is built to stay cold.
Osborne's was not the only design. Another door switch was filed in 1935, and a later General Motors patent used a magnet on the door instead of a rod. Fridges today still switch the light at the door, with a button or a magnet.
So your fridge light is only ever on when you're looking at it.