The Sun (Surya Shani), is one of the five chief tantrik deities, the others being Ganesha, Shiva, Shakti and Vishnu.
According to Alain Danielou in Hindu Polytheism, the Sun is one of the three chief deities of the vedas but he also receives worship in tantrik literature. He is leader of the nine planets (graha) and, in later times, worship of the Sun by the Saura division of the tantriks became worship of his son, Saturn or Shani, and took on something of a dark colour.