A steroid occurring in FUNGI. Irradiation with ULTRAVIOLET RAYS results in formation of ERGOCALCIFEROL (vitamin D2).