The cave was formed in the late Pliocene and early Quaternary when it used to be the bed of a subterranean river, carved in the local sedimentary rocks of limestone and sandstone. The cave consists of a complex system of tunnels and halls. The ceiling is mainly smooth due to the underground eddies.[3]