The element that gains three electrons to fill its outermost energy level is Nitrogen (N).
Nitrogen has five electrons in its outermost shell (2s² 2p³) and needs three more to fill it, achieving a total of eight electrons, which corresponds to a stable configuration.
So the correct answer is:
Nitrogen (N)