Since, Diwali is celebrated on the new moon day when there is supreme darkness everywhere; people light millions of lamps to get rid of the darkness. It is believed that evil spirits and forces gain power and become active when there is no light. So diyas are lit in every corner of the house to weaken those evil forces. ^ yeah thats basically it
Sorry for accidentally deleting this!!