monasticism

nounA way of life in which people live in religious communities, often apart from society, and devote themselves to prayer, work, and spiritual discipline.