Whenahot-dipgalvanizedobjectleavesthezincbaththesurfaceoftheobjectisimmediatelyattackedbyoxygenintheair.

Please segment the words.
When a hot-dip galvanized object leaves the zinc bath the surface of the object is immediately attacked by oxygen in the air.