Was the Baghdad Battery ever used as a battery?
Read the original source · Royal Society of Chemistry · The battery hypothesis and replica

A drawing based on photographs of the artifact.
Source summary
A clay jar found near Baghdad contained a copper cylinder and an iron rod. Wilhelm König proposed that the pieces worked as a battery, and a replica can produce a small voltage when filled with an acidic liquid. The archaeological question is what the original jar did. Evidence such as a connected circuit or a securely dated workshop with electrically plated objects could distinguish practical use from a modern demonstration.