Artificial intelligence (AI) is a technology that allows machines to imitate human behaviour. Machine learning is a subset of artificial intelligence that allows a machine to learn from prior data without having to design it directly. The objective of AI is to create a clever computer system that can solve complicated problems in the same way that people can.