The threads of raincoat are coated with waterproofing agents like resin because the material of raincoat is woven in such a way that the water particles do not penetrate through it. So it drains off the water from the outer surface of the raincoat preventing it from wetting from inside