Concentrated acids and bases are corrosive in nature.
The substances which cause degradation of other substances when they come in contact with it are called corrosive substances.
The majority of the chemicals that make up skin are organic, meaning that they have a lot of carbon-hydrogen or carbon bound to other elements.
Acids and bases react violently with those substances, causing the original component to be destroyed and salts to develop, which harms our skin.
Strong acids and bases dissociate incredibly well when in contact with water, which is another crucial aspect. Therefore, the acid may dissociate very strongly when the skin is moist and has some water on it, making it exceedingly corrosive to the skin.