A lampholder, also known as a lamp socket, provides support and electrical connection for a lamp. It is a device designed to securely hold a light bulb or lamp in place and connect it to the electrical circuit. Lampholders come in various types and designs to accommodate different types of lamps and fixtures. They are typically attached to the wall or ceiling using a wire connection. The main purpose of a lampholder is to provide a stable base for the light source, ensuring it remains securely in place during operation.