Deicing fluid removes ice from the plane on the ground.
Once in the air, other measures are taken - boots, electric, redirected exhaust. If a 172 encounters ice, it will fall from the sky. So will passenger airlines (for example,
Buffalo ) if the pilot mis-manages deicing equipment. Sometimes parts of the plane that aren't protected will ice up and cause concern - tail stalls are
not fun.
In fact, a 172 can be taken down in humid air when it's 70F and the humidity is high. The temperature of air going through the venturi tubes of a carburetor can drop 60 degrees and ice up, shutting down the engine.