What does "monastery" mean?

Monastery: A house of religious retirement, or of secusion from ordinary temporal concerns, especially for monks; -- more rarely applied to such a house for females. See Cloister.

Sources