A robot is a type of machine that can be programmed to perform complex tasks automatically, while a machine is any mechanical device that can perform work.
What is the difference between a robot and a machine?