The order of Buddhist monks and nuns was founded by Gautama Buddha during his lifetime over 2500 years ago. The Buddhist monastic lifestyle grew out of the lifestyle of earlier sects of wandering ascetics, some of whom the Buddha had studied under. It was not really isolationist or eremetic: the sangha was dependent on the lay community for basic provisions of food and clothing, and in return sangha members helped guide lay followers on the path of Dharma. Individuals or small groups of monks – a teacher and his students, or several monks who were friends – traveled together, living on the outskirts of local communities and practicing meditation in the forests. Monks and nuns were expected to live with a minimum of possessions, which were to be voluntarily provided by the lay community. Lay followers also provided the daily food that monks required, and provided shelter for monks when they were needed. During the Buddha's time, many retreats and gardens were donated by wealthy citizens for monks and nuns to stay in during the rainy season. Out of this tradition grew two kinds of living arrangements for monastics, as detailed in the Mahavagga section of the Vinaya and Varsavastu texts: