The components of AI are: Collection of data, a program will need data input, maybe from users or sensors. A programmed set of rules, stored for the program to use to make decisions. The ability to reason, reasoning is an area of logic, where you have rules, and from these develop facts. And the ability to learn and adapt, this is a specialist area called machine learning.