A sort of abrasive substance known as a rubbing compound is used in the process of removing surface flaws from the paint of a vehicle. These imperfections include scratches, swirl marks, and wet spots. In most cases, it is applied to the surface of the paint in combination with a buffer or polishing pad to restore the sheen and smooth out any imperfections.