Trapped, motionless atoms or molecules constitute an ideal sample for spectroscopy. Two groups have recently confined sodium atoms, in one case by magnetic fields and in the other by optical means employing laser radiation. These two methods are described and their problems and limitations considered.