Holi has ancient roots and is believed to have originated as a fertility festival celebrating the arrival of spring. It is also associated with Hindu mythology, particularly the legend of Holika and Prahlad, which symbolizes the victory of good over evil and the power of devotion.