and provides sperm to the female in return. After fusing, males increase in volume and become much larger relative to free-living males of the species. They live and remain reproductively functional as long as the female lives, and can take part in multiple spawnings. This extreme sexual dimorphism ensures, when the female is ready to spawn, she has a mate immediately available. Multiple males can be incorporated into a single individual female with up to eight males in some species, though some taxa appear to have a one male per female rule. Parasites Many parasites are transported by their hosts. For example, endoparasites such as tapeworms live in the alimentary tracts of other animals, and depend on the host's ability to move to distribute their eggs. Ectoparasites such as fleas can move around on the body of their host, but are transported much longer distances by the host's locomotion. Some ectoparasites such as lice can opportunistically hitch a ride on a fly (phoresis) and attempt to find a new host. Changes between media Some animals locomote between different media, e.g., from aquatic to aerial. This often requires different modes of locomotion in the different media and may require a distinct transitional locomotor behaviour. There are a large number of semi-aquatic animals (animals that spend part of their life cycle in water, or generally have part of their anatomy underwater). These represent the major taxa of mammals (e.g., beaver, otter, polar bear), birds (e.g., penguins, ducks), reptiles (e.g., anaconda, bog turtle, marine iguana) and amphibians (e.g., salamanders, frogs, newts). Fish Some fish use multiple modes of locomotion. Walking fish may swim freely or at other times "walk" along the ocean or river floor, but not on land (e.g., the flying gurnard—which does not actually fly—and batfishes of the family Ogcocephalidae). Amphibious fish, are fish that are able to leave water for extended periods of time. These fish use a range of terrestrial locomotory modes, such as lateral undulation, tripod-like walking (using paired fins and tail), and jumping. Many of these locomotory modes incorporate multiple combinations of pectoral, pelvic and tail fin movement. Examples include eels, mudskippers and the walking catfish. Flying fish can make powerful, self-propelled leaps out of water into air, where their long, wing-like fins enable gliding flight for considerable distances above the water's surface. This uncommon ability is a natural defence mechanism to evade predators. The flights of