Ethers are a class of organic compounds containing an oxygen atom connected to two alkyl or aryl groups, following the general formula R-O-R'. Ethers have relatively low polarity and reactivity compared to similar alcohols and alkenes. Common reactions of ethers include forming peroxides in the presence of oxygen and dehydration of alcohols to form ethers. Historically, ether was first used as a general anesthetic for surgery in the 1840s and is still applied as a colorless liquid that causes unconsciousness.