# Oxygen compounds

The oxidation state of oxygen is −2 in almost all known compounds of oxygen. The oxidation state −1 is found in a few compounds such as peroxides. Compounds containing oxygen in other oxidation states are very uncommon: −1⁄2 (superoxides), −1⁄3 (ozonides), 0 (elemental, hypofluorous acid), +1⁄2 (dioxygenyl), +1 (dioxygen difluoride), and +2 (oxygen difluoride).
Oxygen is reactive and will form oxides with all other elements except the noble gases helium, neon, argon and krypton.

## Oxides

Water (H $_2$O) is the oxide of hydrogen and most familiar oxygen compound. Its bulk properties partly result from the interaction of its component atoms, oxygen and hydrogen, with atoms of nearby water molecules. Hydrogen atoms are covalently bonded to oxygen in a water molecule but also have an additional attraction (about 23.3 kJ·mol$^{−1}$ per hydrogen atom) to an adjacent oxygen atom in a separate molecule. These hydrogen bonds between water molecules hold them approximately 15% closer than what would be expected in a simple liquid with just Van der Waals forces.
Due to its electronegativity, oxygen forms chemical bonds with almost all other free elements at elevated temperatures to give corresponding oxides. However, some elements, such as iron which oxidises to iron oxide, or rust, Fe $_2$O $_3$, readily oxidise at standard conditions for temperature and pressure (STP). The surface of metals like aluminium and titanium are oxidized in the presence of air and become coated with a thin film of oxide that passivates the metal and slows further corrosion. So-called noble metals, such as gold and platinum, resist direct chemical combination with oxygen, and substances like gold(III) oxide (Au $_2$O $_3$) must be formed by an indirect route.
The alkali metals and alkali earth metals all react spontaneously with oxygen when exposed to dry air to form oxides, and form hydroxides in the presence of oxygen and water. As a result, none of these elements is found in nature as a free metal. Caesium is so reactive with oxygen that it is used as a getter in vacuum tubes. Although solid magnesium reacts slowly with oxygen at STP, it is capable of burning in air, generating very high temperatures, and its metal powder may form explosive mixtures with air.
Oxygen is present as compounds in the atmosphere in trace quantities in the form of carbon dioxide (CO $_2$) and oxides of nitrogen (NO$_x$). The Earth's crustal rock is composed in large part of oxides of silicon (silica SiO $_2$, found in granite and sand), aluminium (aluminium oxide Al $_2$O $_3$, in bauxite and corundum), iron (iron (III) oxide Fe $_2$O $_3$, in hematite and rust) and other oxides of metals.

## Other inorganic compounds

The rest of the Earth's crust is formed also of oxygen compounds, most importantly calcium carbonate (in limestone) and silicates (in feldspars). Water-soluble silicates in the form of Na $_4$SiO $_4$, Na $_2$SiO $_3$, and Na $_2$Si $_2$O $_5$ are used as detergents and adhesives.
Peroxides retain some of oxygen's original molecular structure (($^−$O-O$^−$). White or light yellow sodium peroxide (Na $_2$O $_2$) is formed when metallic sodium is burned in oxygen. Each oxygen atom in its peroxide ion may have a full octet of 4 pairs of electrons. Superoxides are a class of compounds that are very similar to peroxides, but with just one unpaired electron for each pair of oxygen atoms (O$^−$ $_2$). These compounds form by oxidation of alkali metals with larger ionic radii (K, Rb, Cs). For example, potassium superoxide (KO $_2$) is an orange-yellow solid formed when potassium reacts with oxygen.
Hydrogen peroxide (H $_2$O $_2$) can be produced by passing a volume of 96% to 98% hydrogen and 2 to 4% oxygen through an electric discharge. A more commercially-viable method is to allow autoxidation of an organic intermediate, 2-ethylanthrahydroquinone dissolved in an organic solvent, to oxidize to H $_2$O $_2$ and 2-ethylanthraquinone. The 2-ethylanthraquinone is then reduced and recycled back into the process.
When dissolved in water, many metallic oxide form alkaline solutions, while many oxides of nonmetals form acidic solutions. For example, sodium oxide in solution forms the strong base sodium hydroxide, while phosphorus pentoxide in solution forms phosphoric acid.
Oxygenated anions such as chlorates (ClO$^−$ $_3$), perchlorates (ClO$^−$ $_4$), chromates (CrO$^{2−}$ $_4$), dichromates (Cr $_2$O$^{2−}$ $_7$), permanganates (MnO$^−$ $_4$), and nitrates (NO$^−$ $_3$) are strong oxidizing agents. Oxygen forms heteropoly acids and polyoxometalate ions with tungsten, molybdenum and some other transition metals, such as phosphotungstic acid (H $_3$PW $_{12}$O $_{40}$) and octadecamolybdophosphoric acid (H $_6$P $_2$Mo $_{18}$O $_{62}$).
Oxygen can form oxides with heavier noble gases xenon and radon, although this needs indirect methods. Even though no oxides of krypton are known, oxygen is able to form covalent bonds with krypton in an unstable compound Kr(OTeF$_5$)$_2$.
One unexpected oxygen compound is dioxygenyl hexafluoroplatinate, O$^+$ $_2$PtF$^−$ $_6$, discovered in studying the properties of platinum hexafluoride (PtF $_6$). A change in color when this compound was exposed to atmospheric air suggested that dioxygen was being oxidized (in turn the difficulty of oxidizing oxygen led to the hypothesis that xenon might be oxidized by PtF $_6$, resulting in discovery of the first xenon compound xenon hexafluoroplatinate Xe$^+$ PtF$^−$ $_6$). The cations of oxygen are formed only in the presence of stronger oxidants than oxygen, which limits them to the action of fluorine and certain fluorine compounds. Simple oxygen fluorides are known.

## Organic compounds

Among the most important classes of organic compounds that contain oxygen are (where "R" is an organic group): alcohol (R-OH); ethers (R-O-R); ketones (R-CO-R); aldehydes (R-CO-H); carboxylic acids (R-COOH); esters (R-COO-R); acid anhydrides (R-CO-O-CO-R); amides (R-C(O)-NR$_2$). There are many important organic solvents that contain oxygen, among which: acetone, methanol, ethanol, isopropanol, furan, THF, diethyl ether, dioxane, ethylacetate, DMF, DMSO, acetic acid, formic acid. Acetone ((CH $_3$) $_2$CO) and phenol (C $_6$H $_5$OH) are used as feeder materials in the synthesis of many different substances. Other important organic compounds that contain oxygen are: glycerol, formaldehyde, glutaraldehyde, citric acid, acetic anhydride, acetamide, etc. Epoxides are ethers in which the oxygen atom is part of a ring of three atoms.
Oxygen reacts spontaneously with many organic compounds at or below room temperature in a process called autoxidation. Alkaline solutions of pyrogallol, benzene-1,2,3-triol absorb oxygen from the air, and are used in the determination of the atmospheric concentration of oxygen. Most of the organic compounds that contain oxygen are not made by direct action of oxygen. Organic compounds important in industry and commerce are made by direct oxidation of a precursor include:
* Ethylene oxide (used to make the antifreeze ethylene glycol) is obtained by direct oxidation of ethylene:
       C $_2$H $_4$ + ½ O $_2$ + $_{———→}$ C $_2$H $_4$O
* Peracetic acid (feeder material for various epoxy compounds) is obtained from acetaldehyde:
       CH $_3$CHO + O $_2$ + $^{catalyst}$ $_{———→}$ CH $_3$C(O)-OOH

## Biomolecules

The element is found in almost all biomolecules that are important to, or generated by, life. Only a few common complex biomolecules, such as squalene and the carotenes, contain no oxygen. Of the organic compounds with biological relevance, carbohydrates contain the largest proportion by mass of oxygen (about 50%). All fats, fatty acids, amino acids, and proteins contain oxygen (due to the presence of carbonyl groups in these acids and their ester residues). Furthermore, seven of the amino acids which are incorporated into proteins, have oxygen incorporated into their side-chains, as well. Oxygen also occurs in phosphate (PO$_4$$^{3−}$) groups in the biologically important energy-carrying molecules ATP and ADP, in the backbone and the purines (except adenine) and pyrimidines of RNA and DNA, and in bones as calcium phosphate and hydroxylapatite.