Over 40 people including several minors lost their lives in the December 2019 fire that broke out at a factory in Anaj Mandi here which was illegally storing and using highly inflammable material without safety precautions, the Delhi High Court was informed on Wednesday.