The invention proposes a mass spectrometer comprising two ion mobility analyzers in tandem arrangement, of which at least one is a trapped ion mobility spectrometer (TIMS), and an ion gate which is located between the two ion mobility analyzers, and use thereof wherein ions are selectively transferred between the two ion mobility analyzers by adjusting the transmission of the ion gate while ions are separated in time according to ion mobility in the first ion mobility analyzer.