What were two advantages of living in dwellings built into the side of cliffs?

The cave keeps the solar heat contained inside during the winter.
The top of the cliff keeps out rain and snow.