Stonehenge architecturally functioned to aid what branch of science?

Stonehenge architecturally functioned to aid what branch of science?