A monastery is a facility which houses a religious community of monks or nuns. Generally, a monastery is designed to be self contained, so that the religious adherents inside could potentially live out their lives entirely inside monastery walls. By choosing to live in seclusion, the inhabitants of a monastery can explore the nature of faith either alone or together, and these facilities often become repositories of religious knowledge and contemplation.