The answer to 'how does light fixture work' is that a light fixture is an electrical device that provides illumination in a room or space. It is typically connected to a power source, such as an electrical outlet or wiring, and contains one or more light bulbs or lamps that emit light when electricity flows through them.
The main components of a light fixture include the housing or frame, the light source (such as an incandescent, LED, or fluorescent bulb), the socket or base that holds the light source, and the electrical wiring that connects the fixture to the power source. The housing may be made of various materials, such as metal, plastic, or glass, and can come in a variety of shapes, sizes, and styles to suit different decor and lighting needs.