An octopus has one central brain located in its head, but it also has eight smaller brains located in each of its arms.
The central brain is responsible for processing information from the environment and controlling the octopus's overall behavior.
The smaller brains in each arm are called ganglia. These ganglia allow the arms to act independently, making them highly dexterous and capable of complex tasks like opening jars or unscrewing lids.
The octopus's nervous system is highly decentralized, which allows it to act quickly and efficiently in its environment.