When we connect the capacitor bank in series?

we connect capacitor bank in series to improve the voltage profile at the load end in transmission line there is considerable voltage drop along the transmission line due to impedance of the line. so in order to bring the voltage at the load terminals within its limits i.e (+ or - %6 )of the rated terminal voltage the capacitor bank is used in series