They belong to the class of ray-finned fish and have over 7,000 species in almost all aquatic environments . They belong to the class of ray-finned fish and comprise over 7,000 species found in almost all aquatic environments .