Acetone is a good solvent for many plastics and some synthetic fibers. It is used for thinning polyester resin, cleaning tools used with it, and dissolving two-part epoxies and superglue before they harden. It is used as one of the volatile components of some paints and varnishes. As a heavy-duty degreaser, it is useful in the preparation of metal prior to painting or soldering, and to remove rosin flux after soldering (to prevent adhesion of dirt and electrical leakage and perhaps corrosion or for cosmetic reasons), although it attacks many electronic components (for example polystyrene capacitors) so it is unsuitable for cleaning many circuit boards.