Engine compartment light

Does it come with the socket and wires? The pic looks like an average bulb
it's just a replacement bulb otherwise see post #4