section_path: Anatomy and physiology/Brain
section_name: Brain
paragraph_text: Brain
  
  Fish have small brains relative to body size compared with other vertebrates, typically one-fifteenth the brain mass of a similarly sized bird or mammal. However, some fish have relatively large brains, notably mormyrids and sharks, which have brains about as large for their body weight as birds and marsupials. At the front of the brain are the olfactory lobes, a pair of structures that receive and process signals from the nostrils via the two olfactory nerves. Fish that hunt primarily by smell, such as hagfish and sharks, have very large olfactory lobes. Behind these is the telencephalon, which in fish deals mostly with olfaction. Together these structures form the forebrain. Connecting the forebrain to the midbrain is the diencephalon; it works with hormones and homeostasis. The pineal body is just above the diencephalon; it detects light, maintains circadian rhythms, and controls color changes. The midbrain contains the two optic lobes. These are very large in species that hunt by sight, such as rainbow trout and cichlids. The hindbrain controls swimming and balance.The single-lobed cerebellum is the biggest part of the brain; it is small in hagfish and lampreys, but very large in mormyrids, processing their electrical sense. The brain stem or myelencephalon controls some muscles and body organs, and governs respiration and osmoregulation.