A steroid is a type of organic compound
Organic compound
An organic compound is any member of a large class of gaseous, liquid, or solid chemical compounds whose molecules contain carbon. For historical reasons discussed below, a few types of carbon-containing compounds such as carbides, carbonates, simple oxides of carbon, and cyanides, as well as the...

 that contains a characteristic arrangement of four cycloalkane
Cycloalkanes are types of alkanes that have one or more rings of carbon atoms in the chemical structure of their molecules. Alkanes are types of organic hydrocarbon compounds that have only single chemical bonds in their chemical structure...

 rings that are joined to each other. Examples of steroids include the dietary fat cholesterol
Cholesterol is a complex isoprenoid. Specifically, it is a waxy steroid of fat that is produced in the liver or intestines. It is used to produce hormones and cell membranes and is transported in the blood plasma of all mammals. It is an essential structural component of mammalian cell membranes...

, the sex hormones estradiol
Estradiol is a sex hormone. Estradiol is abbreviated E2 as it has 2 hydroxyl groups in its molecular structure. Estrone has 1 and estriol has 3 . Estradiol is about 10 times as potent as estrone and about 80 times as potent as estriol in its estrogenic effect...

 and testosterone
Testosterone is a steroid hormone from the androgen group and is found in mammals, reptiles, birds, and other vertebrates. In mammals, testosterone is primarily secreted in the testes of males and the ovaries of females, although small amounts are also secreted by the adrenal glands...

, and the anti-inflammatory
Anti-inflammatory refers to the property of a substance or treatment that reduces inflammation. Anti-inflammatory drugs make up about half of analgesics, remedying pain by reducing inflammation as opposed to opioids, which affect the central nervous system....

 drug dexamethasone
Dexamethasone is a potent synthetic member of the glucocorticoid class of steroid drugs. It acts as an anti-inflammatory and immunosuppressant...

The core of steroids is composed of twenty carbon
Carbon is the chemical element with symbol C and atomic number 6. As a member of group 14 on the periodic table, it is nonmetallic and tetravalent—making four electrons available to form covalent chemical bonds...

 atoms bonded together that take the form of four fused rings: three cyclohexane
Cyclohexane is a cycloalkane with the molecular formula C6H12. Cyclohexane is used as a nonpolar solvent for the chemical industry, and also as a raw material for the industrial production of adipic acid and caprolactam, both of which being intermediates used in the production of nylon...

 rings (designated as rings A, B, and C in the figure to the right) and one cyclopentane
Cyclopentane is a highly flammable alicyclic hydrocarbon with chemical formula 510 and CAS number 287-92-3, consisting of a ring of five carbon atoms each bonded with two hydrogen atoms above and below the plane. It occurs as a colorless liquid with a petrol-like odor. Its melting point is −94 °C...

 ring (the D ring).