Any of a group of steroid-based alcohols having a hydrocarbon side-chain of 8–10 carbon atoms. Sterols exist either as free sterols or as esters of fatty acids. Animal sterols (zoosterols) include cholesterol and lanosterol. The major plant sterol (phytosterol) is beta-sitosterol, while fungal sterols (mycosterols) include ergosterol.