Fish that adapt to both are called euryhaline fish.
Common Examples:
Salmon, eels, flounder, mullet, tilapia, and striped bass.
Less Common Examples: Bull sharks and tarpon.
Important Notes:
Not all fish can do this; stenohaline fish live in only one type. Tolerance varies by species. Euryhaline fish regulate body salt and kidney function to survive different salinities.