The far-infrared spectrometer SAFARI is one of the three scientific instruments on the SPICA mission, a joint European-Japanese project, which was recently selected as one of the three mission candidates for further study in ESA’s M5 call. SPICA employs a 2.5m large telescope deeply cooled to below 8K, improving sensitivities by more than two orders of magnitude with respect to Herschel and Spitzer, filling in the spectral gap between JWST, ELT and ALMA. SAFARI will provide unprecedented spectroscopic observing capabilities in the far-infrared targeting the physical processes governing the formation and evolution of galaxies over cosmic time, and of planetary systems.