The answer to 'how does light fixture work' is that a light fixture is an electrical device that provides illumination by converting electricity into light. It typically consists of a socket to hold a light bulb, wiring to connect the fixture to the electrical system, and a housing or enclosure to support and protect the components.
When electricity flows through the light bulb, it heats up a filament or other light-emitting element, which then produces visible light. The housing and other components of the fixture help direct and control the light output. Light fixtures come in many different styles, sizes, and designs to suit various lighting needs and interior decor preferences.