When a plane crashes in the water and the investigator team looks for the FDR and CVR, why do they put it in a container of water when they find it ?
This is actually a fairly standard thing to do with electronics that have been submerged: They are placed in water (ideally fresh, clean water) to both delay the onset of corrosion and dilute any salts or other chemicals that they came in contact with while submerged.
When you remove electronics from water and let them dry out they begin to form corrosion on all the little exposed bits of metal - chip legs, solder joints, capacitors, etc. - which can badly damage the device when it is powered back on.
The Cockpit Voice Recorder and Flight Data Recorder are water resistant, but they are not necessarily waterproof (particularly after a crash, which may puncture their casings or damage seals), so they get placed in a container of fresh water for their trip to the NTSB's lab.
Bonus Factoid: Archaeological recoveries from bodies of water use similar procedures, for similar reasons: If you bring up a clay pot that's been sitting at the bottom of a lake for a thousand years and let it air-dry naturally there's a good chance it will crack and be destroyed.
After being sunk in water, especially salt water, the devices are more susceptible to corrosion when removed from the water. In order to better ensure a successful recovery of the data contained within, the investigators keep them immersed in water until they can be properly cleaned and dried in a laboratory. If they were to be simply removed into the air, corrosion would begin immediately, increasing the odds of data loss.