The LT3650 circuit is a monolithic two-cell Li-Ion/ Polymer battery charger that operates from 9V to 32V input voltage range (11.5V minimum start-up voltage). The LT3650 si produced by Linear Technology and provides a constant-current/constant-voltage charge characteristic, with maximum charge current externally programmable up to 2A, set using an external current sense resistor.
So a battery is charging during daylight from a solar panel and can discharge through solar panels during night. This problem can be prevented with a diode but this has a disadvantage so we use this switch.
This circuit is an alternative to expensive battery chargers, the trick to lower the cost is to buy a cheap battery charger and expand it with an automatic charge breaker circuit such as the one presented here.