What for series and shunt compensation provided in EHV transmission lines?

Series capacitance is provided in EHV lines to artificially reduce the series reactance of the line so as to improve stability, voltage regulation and transmission efficiency

Shunt compensation is provided to artificially reduce the line susceptance so as to improve the voltage regulation under light load condition.