Excessive use of chemical fertilisers makes the soil acidic. Plants do not grow well when the soil is either too acidic or too basic.
When the soil is too acidic, it is treated with bases like quick lime (calcium oxide) or slaked lime (calcium hydroxide).
If the soil is basic, organic matter (compost) is added to it. Organic matter releases acids which neutralises the basic nature of the soil.