(Psychological / emotional perspective)

Our subconscious fears or feelings connected with death can show in a dream as a catacomb or crypt.

Inherent in both is the idea of sanctuary for the soul.