The Sun relates to the Divine father. In the Hindu religion, this is Shiva, Mahadeva, the great God. Yet the Sun represents the Divine presence generally and whatever form of the Divine we worship can be used for this purpose. The second great Hindu form of the Divine, Vishnu, is also worshipped as the Sun, representing more the immanent or benefic side of solar energy.
The Sun is also the Divine Son. The great avatars are sons of the Sun. Christ follows in this line as well, with his birth at the winter solstice (the Sun reborn), as do Rama, Krishna and Buddha.