The fish can live in freshwater or saltwater environments, depending on the species. Some prefer shallow waters near the shore, while others can dive to great depths. The fish thrives in areas with good water quality, temperature, and oxygen levels. It can also adapt to changes in the environment if given enough time.