A solenoid valve is electromechanically controlled using magnetics. When current is passed to the magnet, the valve is actuated, automatically opening or closing the valve as required. Solenoids are commonly used in restaurant equipment to activate the flow of water, syrups, gas and more.