Found this on a website, hope that's what you're looking for.
Fish that can live in both salt and fresh water are called osmoregulators.
Salmon is an example. They hatch in fresh water, swim to the ocean and spend
most of their lives there. They then swim back to their spawning grounds
(where they hatched) to lay their own eggs. They go from fresh to salt water
and back again. They regulate their salt intake through their kidneys and
their gills. Excess water can be lost through the gills and excess salt can
be lost through the kidneys.