The dormitories once held Buddhists monks and their families.  
On the excavation site, you will see remains of dormitories in addition to the refectory, kitchens, baths, lecture halls, libraries, and temples.