Bases are the part of lamp bulbs allowing the mechanical fixing and electrical connection with the light source. Based on the type of attachment, there are screw, bayonet, and bi-pin bases, all of which are available in various sizes. Different base types are not compatible with each other.