I believe they were adapted from India.
Answer: to provide food, shelter, and protection for travelers to provide employment for peasants who lived nearby to establish retreats where new religions could flourish to create markets where goods could be traded and sold
Explanation:
They held desired resources which included land and labor. Hope this helps.