This is a water inlet solenoid valve for a steam generator (often used in steam rooms / steam saunas).