Answer:
The original purpose of monasteries in the Middle Ages was to provide homes for people who dedicated their lives to studying Christianity. Monasteries were religious communities where monks or nuns lived a life of prayer, contemplation, and service to God. They were dedicated to the pursuit of spiritual goals such as salvation, enlightenment, and the practice of Christian virtues. Monasteries also played an important role in preserving and transmitting knowledge, particularly during the early Middle Ages when literacy was rare.