This BAY15D socket is designed for an indexed two-filament automotive bulb like an 1157 bulb.
Note: like most bayonet sockets, this socket is grounded through the socket and bracket. The two leads coming off it are both positive to operate two different filaments or functions.