Ergosterol, also known as ergosterol, is one of the terpenoids. The compound can be used for biochemical studies, with some of the same effects as vitamin D2. Ergosterol is an important component of the microbial cell membrane and plays an important role in ensuring the integrity of the cell membrane, membrane-bound enzyme activity, membrane fluidity, cell viability, and cellular material transport. Intermediates that produce hormone drugs can be used to produce cortisone. There is the role of vitamin D2.