Yes—fish contribute to the marine ecosystem in ways that go far beyond serving as food for people or larger animals; they shape habitats, move energy and nutrients across boundaries, regulate populations, and support the functioning of the ocean as a whole. The question is broad, so the most useful answer separates the different kinds of contribution and notes where the strength of the evidence and the importance of any single species depend on the specific ecosystem: a coral reef, an open-ocean upwelling zone, an estuary, and the deep sea do not work the same way.
A useful early distinction is between fish as a group and particular fish species. Saying "fish contribute to marine ecosystems" is easy to defend, because fishes are extraordinarily diverse—more than 30,000 described species, occupying nearly every marine habitat and size class from millimeter-long larvae to whale sharks. But the specific role a fish plays depends on its feeding mode, body size, life history, and abundance. A sardine, a parrotfish, a shark, and a lanternfish are all fish, yet they occupy very different functional positions. Most of the confusion in this area comes from treating "fish" as a single ecological actor.
Fish as links in the food web
The most basic contribution is trophic: fish transfer energy from the tiny organisms at the base of the food web to larger predators. Marine food webs rest largely on phytoplankton and, in many regions, on zooplankton. Small, abundant fishes—sardines, anchovies, herrings, capelin, and the lanternfishes of the deep scattering layer—feed on zooplankton and are themselves eaten by seabirds, marine mammals, larger fish, and squid. These "forage fish" are the great converters of plankton production into biomass that larger animals can capture.
This linking function is not a trivial relay. The timing and location of forage-fish aggregations determine where predators can breed successfully. Seabird colonies, for example, are often tied to predictable concentrations of small fish within foraging range during the nesting season. When those concentrations shift, breeding output can change. That is a statement about the general mechanism—predator reproduction tracking prey availability—not a claim that any particular fishery has caused a specific colony decline, which would require local evidence.
At the other end of the size spectrum, large predatory fish exert top-down influence. Sharks, tuna, billfish, and large groupers consume mid-sized fish and can shape the abundance and behavior of their prey. The strength of this "top-down" control varies enormously between systems and is debated for good reason: in some places removing large predators produces cascading changes, and in others the food web is more strongly governed by bottom-up production or by physical disturbance. The honest formulation is that predatory fish are capable of structuring communities, with the magnitude depending on the system.
Fish as habitat builders and modifiers
Some fish do not merely live in habitats; they create or alter them. The clearest examples are reef-associated.
Parrotfishes and surgeonfishes graze algae from coral surfaces. By cropping algae, they help keep space available for corals to settle and grow. This is a genuine ecological function, but it is often oversimplified. Grazing does not "save" reefs by itself; coral recovery depends on water quality, temperature, recruitment, and disturbance regimes. Moreover, some parrotfishes also bite into coral skeletons, and the balance of benefit and harm depends on species and context. The defensible claim is that herbivorous fish are a major control on algal abundance on reefs, and that their removal can shift a reef toward algal dominance when other conditions favor algae.
Some fish are themselves habitat. Corals build reefs, but certain fishes—including some damselfishes—cultivate algal gardens and defend territories, and burrowing species rework sediment. Gobies and other small burrowers disturb and aerate sediments in soft-bottom habitats, influencing the structure of the seabed and the organisms living in it. This "bioturbation" affects nutrient exchange between sediment and water. The scale of such effects is local, but locally it can be significant.
Fish as nutrient transporters
Fish move nutrients, not just energy. A fish that feeds in one place and defecates or dies in another transports nitrogen, phosphorus, and other elements across habitat boundaries. This is especially important where habitats are nutrient-poor.
A well-studied class of example involves fishes that feed in open water or on seagrass and reef flats and then shelter or defecate around coral reefs, effectively importing nutrients to the reef. Another involves migratory fish that carry marine-derived nutrients into freshwater when they swim upstream to spawn—the classic Pacific salmon case, where carcasses deliver ocean-derived nutrients to rivers and riparian forests. The direction and magnitude depend on the species and the system, and the salmon example is a freshwater/riparian story as much as a marine one, but it illustrates the general principle: mobile animals can be nutrient vectors.
Fish also contribute to nutrient cycling simply by existing and excreting. On reefs, fish excretion can be a meaningful source of nitrogen and phosphorus for corals and algae, particularly in oligotrophic (nutrient-poor) tropical waters. Again, the strength of this pathway is system-specific and has been quantified in some places but not others.
Fish as prey and as predators of key groups
Beyond forage fish feeding predators, fish influence ecosystems by eating—or being eaten by—organisms that would otherwise dominate.
Some fish control sea urchins, which in turn graze algae and can destroy kelp forests when abundant. Sea otters are the famous urchin predators, but certain fish, including some wrasses and triggerfishes, also eat urchins, and their role varies by region. Where urchin-eating fish are abundant, they can contribute to keeping urchin populations in check; where they are scarce, urchins may proliferate. This is a good example of why regional context matters: the same functional role may be filled by different species in different places, and the loss of one may or may not be compensated by another.
Conversely, fish can be important predators of plankton, of benthic invertebrates, and of other fish. Piscivory (fish eating fish) redistributes energy and can regulate the abundance of smaller species. The "wasp-waist" idea—that a few mid-trophic species dominate both what is eaten and what eats them—captures how central some fish are to food-web structure, though it is a model of certain systems rather than a universal law.
The deep sea and the biological pump
Fish contribute to the ocean's carbon cycle in ways that are easy to overlook. The daily vertical migration of mesopelagic fishes and other animals—rising to feed near the surface at night and descending by day—actively transports carbon downward. This "biological pump" component moves organic matter from surface waters to depth, where it is less likely to return quickly to the atmosphere. Lanternfishes and other small mesopelagic fishes are major participants in this migration and are thought to be extremely abundant, though estimates of their biomass carry wide uncertainty.
Fish also contribute to carbon export through feces and dead bodies sinking to the seafloor. The magnitude of the fish contribution relative to plankton and other vectors is an active research area, and it would be wrong to present a precise figure. The defensible point is that fish are part of the biological pump, not separate from it.
Where the answer stops applying
The claim "fish contribute to marine ecosystems" is robust, but several common overextensions are not:
Not every fish is essential. Many species are functionally redundant with others, and some contribute little to ecosystem-level processes. Diversity matters, but the loss of a rare species and the loss of a dominant forage fish are not equivalent. Removal effects are context-dependent. Removing a predator may cause a trophic cascade in one system and little change in another. Predicting outcomes requires local data, not a general rule. Fish are not the only actors. Microbes, plankton, sea urchins, sea otters, seabirds, and physical oceanography all matter. Fish are a major component, not the whole system. "Contribution" is not the same as "net benefit" to any particular human goal. A fish that is ecologically central may also compete with a fishery or prey on a valued species.
Why the question is easy to misread
Part of the difficulty is terminological. "Marine ecosystem" can mean a single reef, a regional sea, or the global ocean, and the answer changes with scale. "Contribute" can mean "are part of" (trivially true), "shape" (true for many species, context-dependent), or "are necessary for the system to persist" (true in some cases, arguable in others). The strongest, least ambiguous version of the answer is: fish are integral to marine food webs, nutrient and carbon movement, and habitat dynamics, and their functional roles differ so much among species that blanket statements about "fish" should be treated with caution.
A related confusion concerns the difference between ecological function and conservation value. A species can be ecologically important without being threatened, and a threatened species can be ecologically minor. Conservation priorities often weigh both, and the two are not the same argument.
The most accurate short answer, then, is that fish contribute across multiple axes—trophic transfer, predation and grazing, habitat modification, nutrient transport, and carbon export—with the strength and even the direction of any single contribution depending on the species, the system, and the scale being considered.