The Book of Caverns appears to have originated in the Ramesside Period (the Twentieth Dynasty). Seemingly, this book, as an underworld book, emphasizes that previous texts had been too soft on those deceased who failed their judgment in the afterlife, while at the same time focusing on the rewards of those who did. Like many funerary texts, it was written on the inside of the tomb for reference by the deceased. It describes the journey of the sun god Ra through the six caverns of the underworld. Virtually, this book advances the knowledge of the Ancient Egyptian concept of Hell. It is divided into two halves, six sections, and each half is divided into three other parts.