The Vedas contain early forms of mathematics, astronomy, and even ecology — including concepts like zero, infinity, and planetary motion.