Diwali is celebrated to mark the victory of light over darkness and good over evil. It has different religious and mythological associations, including the return of Lord Rama to Ayodhya after defeating the demon king Ravana and the victory of Lord Krishna over the demon Narakasura.