The temples of Mahabalipuram were a high point in southern architecture , and it was the Pallavan artists who influenced and may have helped to build the temples at Angkor Wat in Cambodia and Borobudur in Java .
The temples were used for religious reasons .