Modern science owes much of its heritage to ancient Greek philosophers; influential work in astronomy, mechanics, geometry, medicine, and natural history was part of the general pursuit of philosophy. Architectural knowledge, especially in ancient Greece and Rome, also contributed to the development of mathematics, though the extent of the connection between architectural knowledge and more abstract mathematics and mechanics is unclear.