What does lair mean?

“Lair,” which is spelled similarly to “liar,” is a noun that refers to the resting place of a wild animal (e.g., “We found the coyote hiding in a lair”) but can also refer to someone’s secret hiding spot (e.g., “I used to imagine that my room was Batman’s lair”).