Basically, since buildings are made from limestone, acids react with the limestone in the building, breaking it down continually to form salt thereby causing in the destruction of the building.ie
CaCO3 + H2SO4
--> CaSO4 + H2CO3
H2CO3 --> CO2 gas + H2O