Salicylic acid is used to treat various skin conditions. It is also used as a medication to remove the outer layer of skin.