Which part of the robot form the brain

The brain of a robot is typically located within the central processing unit (CPU), which consists of a microprocessor and other necessary electronic components. It is responsible for receiving inputs from various sensors, processing them, and generating appropriate outputs for controlling the robot's movements and actions.