The simulation of human intelligence by machines is known as artificial intelligence. In other words, it is a science that aims to develop systems that can learn and reason like humans, learn from experience, figure out how to solve issues under certain situations, check information, and perform logical tasks in the same way as humans do. The fact that a system has humanoid hardware and physically acts like one is an area of robotics that differs from Artificial Intelligence in that it focuses on simulating how people think and reason.
