This is because ocean water contain more salt and by drinking a water with too much salt in a desert you will get severely dehydrated.
Dehydration occurs because a salty water will be hypertonic to your body cells. Hypertonic solution contain more solute relative to that in the cell. When a cell is placed in a hypertonic solution it will lose water to its environment by osmosis. This will cause the cells to shrink and may die of dehydration.
A pair of nephridia is present on each segment of the earthworm, They are similar to flame cells in that they have tubules with cilia and function like a kidney to remove wastes.