A voltaic cell is an electrochemical cell in which a spontaneous redox reaction generates an electrical current.