Sagan served as Chairman of the Division for Planetary Science of the American Astronomical Society , as President of the Planetology Section of the American Geophysical Union , and as Chairman of the Astronomy Section of the American Association for the Advancement of Science ( AAAS ) .