A solenoid valve is an electrically controlled valve. Which is an electric coil with a movable ferromagnetic core (plunger) in its center. The plunger closes off a small orifice. An electric current through the coil creates a magnetic field. The magnetic field exerts an upwards force on the plunger opening the orifice.