It is used for fluids such as air, gas, oil, water or steam. You can think that the main purpose of solenoid valve to controlling a fluid.