Electrochemical cells are devices that convert chemical energy into electrical energy through redox reactions.