A cavity is a hole or space in something.
There was a small cavity in the wall of the cave, where an animal lived.
Example picture