When a computer system mimic human-like cognitive functions such as learning and problem-solving then it is known as Artificial Intelligence.
How does Artificial Intelligence (AI) work?
Humans use to learn from new information and make decisions similarly a computer system uses math and logic to stimulate the reasoning. AI computer system makes predictions or takes actions based on patterns in existing data and can then learn from its errors to increase its accuracy. When these computer systems become capable to process new information extremely quickly and accurately then it is called a matured AI process. Once this is achieved it can be used for complex scenarios such as self-driving cars, image recognition programs and virtual assistants.