What is the study of the end of the world?

Eschatology .