Question: why ajanta caves were built?
Answer: The Ajanta Caves were built in a period when both the Buddha and the Hindu gods were simultaneously revered in Indian culture. According to Spink and other scholars, the royal Vakataka sponsors of the Ajanta Caves probably worshipped both Hindu and Buddhist gods.