Transient molecules, free radicals and molecular ions, investigated by high-resolution spectroscopy