Fragmentation can occur in the ion source (in-source fragmentation) where it is generally not a desired effect.
Desired fragmentation is made in the collision zone (post-source fragmentation) of a tandem mass spectrometer.