Monasteries were communities of monks and nuns that lived according to strict religious rules. They provided shelter and education to locals while devoting their lives to prayer, work, and scripture copying on a daily schedule. Boys hoping to become monks underwent training and vows of poverty, chastity, and obedience before joining the monastery as full members.