Element
Oxygen is an element and not a compound.
Elements are substances that can't be split into simpler substances by chemical means. They include, hydrogen, oxygen, sodium, etc.
Compounds are substances that are made up of two or more elements e.g. water is a compound, since it is made up of oxygen and hydrogen element. Compounds unlike elements can be split into simpler substances by chemical means.