Lord Ram and Maa Sita observed a fast to venerate Lord Sun after coming back to Ayodhya and broke it after the sunset. This ritual evolved in Chhath Puja.