Atoms, stars, and nebulae