Fishes' bodies adapt to allow various species to thrive in their habitats. For example, a mackerel's cylindrical and streamlined body permits it to swim swiftly and continuously in currents. A moray eel, being a slow swimmer, has a snake-like body that allows it to hide in crevices from predators.
Fish have different color patterns that allow them to blend more easily into their environments. A flounder changes colors to blend into its surroundings, to surprise prey and to hide from enemies. Some fish have markings on their bodies to create illusions, confusing predators and prey. Most marine fish on the bottom of the sea can produce light through bioluminescence, which can be used to attract either prey or potential mates.