It is a pretty amazing structure.
Sri Lanka in general has many things that are unknown. The palace fortress of Sigiriya is one. The huge ancient irrigation systems are another.