Revealing the nature of active sites in electrocatalysis