Exploring the use of impedance spectroscopy in relaxation and electrochemical studies