Answer :

the answer would be a galvanic cell