ATM stands for atmosphere, a unit of pressure used to rate water resistance. One ATM is roughly equal to 10 meters of static water pressure.
It's tested in a lab, not real swimming or diving conditions. Treat the number as a safety buffer, not a target to hit.
5 ATM handles splashes and rain. 10 ATM is the real minimum before you go swimming.