Why is pure oxygen called O2 when oxygen is an element?

https://lemmy.world/post/4429126

Why is pure oxygen called O2 when oxygen is an element? - Lemmy.world

Exactly as the title asks. Pure oxygen is generally represented as O2 yet oxygen is an element of the periodic table. Why is it O2 and not just O?

There are 7 elements that will naturally form covalent bonds with themselves.
Here is how to remember these diatomic elements:

(H)ave (N)o (F)ear (O)f (I)ce (Cl)old (Br)eer.
The Ice is solid, the beer is liquid, and everything else is a gas.

That sounds more complicated than what I’ve remembered. Which is simply hofbrincl