Application of highly sensitive spectroscopy in trace detection Applications of terahertz spectroscopy in spintronics