Oxygen
Reason — To attain the stable electronic configuration of the nearest noble gas neon, oxygen needs two electrons.
When two oxygen atoms come closer, each contributes two electrons and so they have two shared pair of electrons between them. Both atom attain an octet, resulting in the formation of a double covalent bond [O=O] between them.