Mechanical engineering, electrical engineering, computer science, and other fields of engineering and science are subfields of robotics. Robotics is the study of the creation, usage, control, perception, and information processing of robots and computer systems. Based on sensors, actuators, and information processing, a robot is a device that allows these interactions with the real environment.