The socket is the end of the bulb or fluorescent lamp, which serves to connect it to the socket of the luminaire and provides electrical contact. There are many types of sockets, differing in size, shape and method of connection. The most common are threaded sockets, bayonet, pin or tube sockets. The correct choice of socket is crucial for the compatibility of the bulb with the luminaire. The socket also determines the application - for example, G4 and G9 are used for smaller fixtures, while E27 is typical for standard home lighting.