From https://www.ancient.eu/Upanishads/
The Upanishads are a collection of texts of religious and philosophical nature, written in India probably between c. 800 BCE and c. 500 BCE, during a time when Indian society started to question the traditional Vedic religious order.