Each part of India celebrates Diwali in its own way. There are diverse legends that talk about the history of the festival. However, one thing that is common among all the stories is the victory of light over darkness or good over evil. Light is a reference for knowledge, whereas dark is a reference for ignorance.
Some celebrate Diwali as the occasion of the homecoming of Lord Rama, Sita, Lakshmana, along with Hanuman, after their exile, during which Rama defeats the demon king Ravana. Diwali is also commemorative of Lord Vishnu’s victor over the evil king Narakasura.
Diwali in Kerala gained more prominence as people from different communities and different part of the country moved into the state. So, these communities that are mainly settled in the more metropolitan cities like Kochi or Trivandrum, celebrate the festival in all its gaiety, in which locals also participate.