The study of intelligent machines that can carry out tasks that typically require human intelligence, such as speech recognition, decision-making, and language translation, is known as artificial intelligence (AI). AI is a subfield of computer science. The foundation of artificial intelligence (AI) is the notion that machines can learn from data, recognise patterns, and make judgements with little to no human involvement.