Artificial Intelligence is a part of computer science that helps software or a computer system recognize and mimic human intelligence. This technology is used to create intelligent machines that can simulate real-life human intelligence. This has a wide scope of applications and can be used to create machines that can perform complex tasks.
Machine learning, on the other hand, is a type of artificial intelligence and is an application of AI. It helps machines learn from historical data without being explicitly programmed or fed with information. Through machine learning, systems can produce accurate results or offer close predictions based on the data. This has a limited scope compared to AI and can only perform certain tasks that they have been programmed to do.