Jellyfish play an important role in marine ecosystems as both predator and prey. They are a food source for many marine animals, including fish, turtles, and birds. At the same time, they also feed on zooplankton and small fish, helping to control their populations. Some species of jellyfish have been known to cause disruptions to ecosystems when they undergo population booms, as they can outcompete other species for resources.