system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why does water ruin machinery and circuits?

i listen to music from my phones in my shower, and today a bit of water got into my phone speakers, which I then tried to dry quickly. I then thought, how does water getting inside my phone ruin my phone?
gpt
It is the impurities in the water that connect to contact points within a device. If the device is on, the electric current can be sent to places that it shouldn’t go and that causes damage. If those impurities don’t make contact with the connections in your device and create a short then your device may be completely fine. The water does not automatically destroy devices, but it can trigger problems.

Even if your electronic device survives a water incident there is a chance of problems in the future. Water can cause corrosion, a chemical reaction, with metal and the circuit board. Electronics can often function with some corrosion, but you may notice issues or complete failure over time.