The capacitor is initially discharged and then s1 is closed allowing the capacitor to charge through the 2 resistors in series... S2 is open so it's not going to have any effect.
Id assume the IC operates as voltage controlled switch for some other equipment and Y Is the controlling voltage.