Origin: Latin suffix -ory
Dormitory has 3 different meanings across 1 category:
a college or university building containing living quarters for students
a large sleeping room containing several beds
A room containing a number of beds (and often some other furniture and/or utilities) for sleeping, often applied to student and backpacker accommodation of this kind.