The bull shark (Carcharhinus leucas), also known as the Zambezi shark (informally zambi) in Africa and Lake Nicaragua shark in Nicaragua, is a species of requiem shark commonly found worldwide in warm, shallow waters along coasts and in rivers. It is known for its aggressive nature, and presence mainly in warm, shallow brackish and freshwater systems including estuaries and (usually) lower reaches of rivers.

Bull sharks are euryhaline and can thrive in both salt and fresh water. They are known to travel far up rivers, and have been known to travel up the Mississippi River as far as Alton, Illinois, about 1,100 kilometres (700 mi) from the ocean, but few freshwater interactions with humans have been recorded. Larger-sized bull sharks are probably responsible for the majority of nearshore shark attacks, including many incidents of shark bites attributed to other species.

Unlike the river sharks of the genus Glyphis, bull sharks are not true freshwater sharks, despite their ability to survive in freshwater habitats.
Based on this reference text about bull sharks, why can bull sharks live in both salt and fresh water?
Bull sharks can live in both salt and fresh water because they are euryhaline.