This hot water dissolves salts and minerals from the rocks, just as hot water dissolves table salt or sugar much more easily. Seawater carries these dissolved elements into the ocean through vents.