The three main parts are control systems (programs), effectors (actuators), and sensors. These are the three essential ingredients that make a robot, by definition, a robot.