Speleology is the scientific study of caves and cave systems. A speleologist studies caves, their formation, ecology, and history. Mineral deposits would be studied by mineralogists, trees by botanists/dendrologists, and mountains by geomorphologists or mountaineers.