For centuries, the works of Aristotle and other Greek thinkers were preserved in the Arabic world, where they profoundly influenced Muslim thinkers who were trying to combine philosophical insight with religious piety. Nothing escaped investigation, from medicine to the mysteries of God's nature. Avicenna and Averroes produced philosophical systems that rival the greatest intellectual structures ever built.