Core Concept Biodiversity Collection Article Published: November 14, 2022

The Weird and Wonderful World of Worms


Animals with long, skinny bodies are often called “worms,” but there are many kinds of worms—even in the ocean. Annelids (segmented worms) include garden earthworms, but their ocean relatives come in many colors, shapes, and sizes. Some are so small that they live between grains of sand, while others can be longer than a human and eat fish! Marine worms are essential to the ocean food web, as both predators and prey. They help create homes for plants and animals by burrowing and building tubes in ocean sediments. Scientists are still discovering new worm species, and there are still many mysteries about how worms eat, why they live in the places they do, and what roles they play in ocean ecosystems. Worms are a fascinating and important part of ocean communities.

What Is a Worm?

When we think about worms, we usually think about the earthworms we see in the garden or wiggling on the sidewalk after it rains. Or we might think about parasitic worms that live inside other animals, or leeches that feed on blood. While these are the worms we see most often, worms first evolved in the ocean and most species of worms still live there today.

When scientists first began classifying animals by grouping them together according to their physical features, these taxonomists created a group called “Vermes,” which means “worms” in Latin. “Vermes” included “all animals that are longer than wide,” without backbones [1]. This meant that many distantly related animals with a worm-like shape were included in this group. Later, scientists began to recognize and describe many distinct groups of worms. One of these groups, which includes earthworms, is called Annelida, and it is the focus of this article. When we say “worm” from now on, we are talking about annelid worms.

“Annelida” means “ringed animals.” This refers to the repeating segments along their bodies, which distinguish them from other worms. Having many segments means that some can be used for special functions. Imagine if you had 20 sets of arms and legs—you could use some of your arms for juggling, while you flipped pancakes with the other ones, all while riding your bike. Some annelids divide jobs along their bodies—for example, they might use some of their segments for special kinds of feeding, while other segments can build a tube, get rid of waste, or make eggs.

Annelids are an ancient group, with ancestors going back to the time when the very first complex animals began to appear on Earth. Fossils of whole worms are very rare because their bodies are soft and squishy and do not preserve very well. The worm fossils we usually see are from worms that have hard parts, like jaws and teeth, inside their bodies. These parts have been present in the fossil record for over 500 million years.

How Many Kinds of Worms Are in the Ocean?

Scientists do not know exactly how many species of worms live in the ocean, because there are still many to discover. Currently there are about 14,000 known species of annelid worms [2], but many new species are described every year by taxonomists. More than 120 species of Annelida were described in 2021 alone, so we still have a lot to learn about the diversity of these worms (Figure 1).

Figure 1 - Worms come in all shapes and sizes and have special body parts for unique kinds of feeding, defense, and reproduction.
  • Figure 1 - Worms come in all shapes and sizes and have special body parts for unique kinds of feeding, defense, and reproduction.
  • Here are a few examples of the diversity of Annelida.

Worms are found in every ocean habitat, from shallow mud to coral reefs, and even in the deepest parts of the ocean. They are common in warm, tropical places, the coldest polar places like Antarctica, and everywhere in between. Worms come in a huge array of shapes and sizes, from microscopic species to the fearsome-jawed “sand-striker” worm that eats fish and can grow longer than a human. Some worms live in very harsh environments, like the super-hot water of hydrothermal vents. Some worms are parasitic and live on or inside other animals, for example, on lobster gills or on feather stars, in sponges or corals, or even inside other worms. Some worms bore holes into solid rock; some are so tiny that they crawl between sand grains as if they were giant boulders; and some swim freely in open water. If you look carefully anywhere in the ocean, you will find a worm.

What Is it Like to be a Worm?

Although worms live in environments that are very different from those of humans, they need to do the same basic things that people must do to survive: breathe, eat (and poop!), avoid being eaten, and reproduce to make more worms.

Many marine worms live in sediment, such as mud or sand. If you have ever gone to a muddy seashore, you might have noticed that the mud is black and smelly just under the surface. This is because the sticky, goopy mud prevents oxygen from getting very far under the surface. So, if you are a worm that lives in mud, getting oxygen to breathe is a big challenge. Some worms stick feathery external gills up into the water where there is more oxygen, and others pump water into their burrows to bring oxygen down to them (Figures 2A, 3A). Some worms have blood just like ours that can store oxygen, which gives them their red color.

Figure 2 - Worms have many special adaptations that help them to (A) breathe with various structures and behaviors, (B) use many different body parts to eat, and (C) hide from predators by living in tubes or upside down.
  • Figure 2 - Worms have many special adaptations that help them to (A) breathe with various structures and behaviors, (B) use many different body parts to eat, and (C) hide from predators by living in tubes or upside down.
Figure 3 - Worms can be challenging to study in their natural habitats because scientists cannot see through the mud to observe them.
  • Figure 3 - Worms can be challenging to study in their natural habitats because scientists cannot see through the mud to observe them.
  • (A) Side-view of a “worm farm”—a worm has burrowed and oxygenated the sediment. (B) Side view of “worm farm” in the dark, with colored sediment grains, called luminophores, illuminated by ultraviolet light. Luminophores placed on the sediment surface were mixed down by a burrowing worm. (C) A worm burrowing in Jell-O made with seawater, which has similar properties as sediment but is see-through. Scientists shine light through the Jell-O to observe how the worm burrows.

Just like the earthworms in a garden that eat dirt, many worms on the ocean floor eat sediment. Some of the best worm food on the ocean floor comes from dead plankton, fish poop, and other goo produced by organisms in the water that sinks to the sediment surface. Scientists call this material detritus. Worms have special guts with a kind of soap that helps them digest the detritus that coats the sand grains. However, marine worms do not eat just detritus—some of them are carnivores or scavengers, some are herbivores, and some are parasites. Some worms have teeth, jaws, or even venomous fangs for capturing prey or grazing on plants. Some vegetarian worms scrape algae from rocks with special teeth. Compared to the earthworms in a garden, worms in the ocean have evolved a spectacular variety of body parts used to find, grab, and hold onto food (Figure 2B).

Many animals like to eat worms, so worms have evolved numerous ways to avoid predators. Worms that swim in the water or crawl around on the seafloor surface are more exposed, so they often have venomous or irritating spines or use stinky or poisonous chemicals to be less tasty (Figure 1). Some worms hide from predators by building burrows or tubes in sediment (Figure 2C). To resist getting pulled or sucked out of their homes, worms use stiff hairs on their bodies to hold onto their tubes or burrows. It is common to find worms that are growing back their tails or even their heads after having those parts bitten off by a passing fish!

Breathing, eating, and avoiding predators are all important, but reproduction has kept worms on our planet for millions of years. Some worms just throw their eggs and sperm into the water, but others turn their tails into a zombie mini-worm that carries eggs or sperm, complete with a new head and eyes (see the syllid in Figure 1). Sometimes worms keep their babies inside or on their bodies or inside their burrows until they are almost grown up. Sometimes worms can clone themselves by splitting in half and regrowing a new head and tail.

How do Worms Change Their Environments?

One of the most important jobs performed by many worms is recycling detritus so that nutrients are available for other organisms. Microbes actually do most of the work of breaking down detritus, but they are tiny and can not move much, so it is difficult for them to reach the sediment surface where detritus and oxygen are most plentiful. That is where worms come in. When worms burrow through sediment, they move detritus from the sediment surface to deeper down, where more microbes can find it. This process is called bioturbation. Worms also pump oxygenated water into their burrows to breathe, and this brings oxygen to microbes deeper in the sediment [3].

The strategies that worms use to survive also change their habitats. When worms build tubes or burrows, they create homes for other animals. This is why we often find larger and more diverse animal communities in areas with tube-building worms. Worms can also serve as an important food source for fish, birds, crabs, and other predators. So, by eating, burrowing, and being eaten, worms transform the detritus that sinks to the ocean floor into nutrients and energy that can be passed up the food web once again.

Though the things worms do are important, these processes can be difficult to study because scientists can not look through the sediment to see worms in action. Scientists must use creative methods to study what worms are doing (Figure 3). For example, scientists use glowing particles to track how much worms mix sediments, put worms in clear Jell-O to observe how they move, and even detect worm activities with sound waves.

Scientists study communities of worms by grouping them based on the different “jobs” they do in the ecosystem [4]. For example, the groups may be based on whether worms find their food below the sediment surface vs. catching particles floating by in the water, or whether worms build a tube as a home vs. making a burrow. Diversity can refer to the number of species, but diversity can also mean the number of unique jobs or functions worms have in the community. Ecosystems with higher functional diversity, meaning more jobs being done, are often healthier and more productive.


The ocean contains many habitats to be explored and many thousands of species yet to be discovered. The next time you are looking for shells on a beach, digging by the seashore, or visiting an aquarium, turn over rocks or look inside crevices and keep your eyes open for wiggling and shimmering worms. The puzzle of figuring out which worms are present and what they are doing will keep scientists busy for many years to come.


Taxonomist: A type of scientist who discovers, names, describes, and classifies species.

Annelid Worms: A major group of worms with rings of repeating segments along their bodies. One familiar example of an annelid worm is an earthworm.

Diversity: The variation in forms of life. Diversity can be the number of kinds of organisms, for example worm species, or the number of different jobs or “functions” in the ecosystem.

Sediment: The mixture of inorganic (particles of rock and shell) and organic (living microbes and dead stuff from the overlying water) materials that accumulates on the seafloor.

Detritus: Pieces of organic material such as dead plankton, algae, and fish poop that are an important food source for many organisms.

Microbes: Single-celled organisms invisible to the naked eye. Sediment microbes are incredibly diverse and do the bulk of the work to break down detritus.

Bioturbation: The process of animals mixing sediments by burrowing through them and feeding on them.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.


This work was funded by NSF CAREER 1844910 and ONR grants N00014-21-1-2214 and N00014-20-1-2377 to KD. We thank G. Paulay for granting permission to use photos of specimens in the Florida Museum collections.


[1] Fauchald, K. 1977. “The polychaete worms. Definitions and keys to the orders, families and genera,” in Natural History Museum of Los Angeles County, Science Series (Los Angeles, CA).

[2] WORMS Editorial Board. 2022. World Register of Marine Species. VLIZ. doi: 10.14284/170

[3] Meysman, F. J., Middelburg, J. J., and Heip, C. H. 2006. Bioturbation: a fresh look at Darwin’s last idea. Trends Ecol. Evol. 21:688–95. doi: 10.1016/j.tree.2006.08.002

[4] Jumars, P. A., Dorgan, K. M., and Lindsay, S. M. 2015. Diet of worms emended: an update of polychaete feeding guilds. Ann. Rev. Mar. Sci. 7:497–520. doi: 10.1146/annurev-marine-010814-020007