Trilobites had many lifestyles. Some moved over the sea floor as predators, scavengers, or filter feeders and some swam, feeding on plankton. Most ecological niches of modern marine arthropods are seen in trilobites.