Varuna is the seated figure on the lower left
(Parasuramesvara temple, Orissa, south India, about 1000 AD)
Around 1000 BC, in the Vedic period in India, Varuna was an important Hindu god. Varuna was originally a sky god - his name means "the one who covers everything." He represented order in the universe (against the forces of chaos). Some parts of Varuna's identity, at least, seem to come from Indo-European roots in Central Asia, so that Varuna seems to be related to the German god Tyr, the Greek god Zeus, and the Roman god Jupiter. People worshipped Varuna with animal sacrifices.
Varuna may have been the inspiration for the Zoroastrian god Ahura Mazda, who seems to have become popular in eastern Iran (not so far from India) about 1000 BC, and who also represents order standing up against chaos (sometimes through his assistant, Mithra).
Over time, Varuna seems to have gotten less powerful as Indra became more powerful. When Indra took over being India's main sky god, Varuna developed a more specialized role as a judge who punished people who broke their word. Varuna carried a noose so he could catch and hang bad people. He also developed a role as the sea god (like the Greek Poseidon) and the lord of the underworld (like the Greek Hades).
By about 300 BC, people weren't as interested in Indra and Varuna anymore. Instead, they paid more attention to new Hindu gods - Shiva and Vishnu. But Varuna was still a god, and even a thousand years later sculptors still carved his image onto temples all over India.