Atoms in Astrophysics