A compound that is an integral structural component of cell membranes and a precursor in the synthesis of steroid hormones. Dietary cholesterol is obtained from animal sources but is also synthesized by the liver. Cholesterol is carried in the blood by lipoproteins: low-density lipoproteins (LDL) and high-density lipoproteins (HDL).