IC2 (CA3140) is used as a simple voltage comparator to drive the relay. Its inverting input gets 4.7 volt reference voltage from the Zener ZD, while the non inverting input gets an adjustable voltage through the POT VR1.So normally, the inverting input pin 2 gets higher voltage from the Zener (as adjusted by VR1) and output of IC2 remains low. T1 then remains off keeping the relay off. The charging current passes to the battery through the NC (Normally Connected) contacts of the relay.
When the terminal voltage of the battery increases to 13.5 volts, pin 3 of IC2 gets higher voltage than pin2 and the output of IC2 becomes high. This activates the relay and the contacts break. Charging current to the battery cut off and the relay remains as such since the battery voltage(13.5V or more) keeps the voltage at pin3 of IC2 is higher than that of pin 2.