Which masses are vibrating or rotating in a molecule?