The answer is mathematics. Many of Escher's works were inspired by mathematical concepts, such as tessellations, symmetry, and impossible figures. He was fascinated by the beauty and complexity of mathematics and often used it as a source of inspiration for his art.
Exploring the Puzzling World of M. C. Escher: An Artfully Engaging Quiz