Astrochemical Origins of Planetary Systems