This mounting bolt is also known as a handle screw. It helps secure the door handle to your refrigerator door. If the handle is loose, you may just need to tighten the screw.
The light in your refrigerator is controlled by a switch that is activated when the door is opened and closed. Your refrigerator's light will turn on and off when the door is closed.