The working of Solenoid Valve is similar to that of a normal valve. The only difference here is that the Solenoid Valve only operates when it is supplied with DC Voltage.
This is a 2 way Solenoid Valve. So, it has has 2 connections, one of them is liquid inlet and other is outlet. It accepts DC voltage of 24V. When there is input voltage on the Solenoid Terminals, it operates, and opens up, allowing the liquid to flow from inlet to outlet.
The Solenoid has push fit connectors on each side. So, this connector will allow us to directly push the pipe or nozzle into the solenoid without worrying of leaking.