SWAS was a NASA Small Explorer (SMEX) mission with a goal of gaining a greater understanding of star formation by determining the composition of interstellar clouds and establishing the means by which these clouds cool as they collapse to form stars and planets.