An immediate precursor of cholesterol; elevated in the neurodevelopmental syndrome Smith-Lemli-Opitz syndrome, where it is subject to free radical oxidation, giving rise to several oxysterols which contribute to pathogenesis; converted by ultraviolet light to produce vitamin D3 in skin.