Tell me where

where do oceans derive their water and salts from? The textbook answer would say