The best way to understand how AI works is to think about how you learn. AI systems learn in a similar way: by being given lots of information (data) and then finding patterns and relationships within that data.
AI often learns through a process called Machine Learning, which has three main parts:

1. Data
AI models learn from data. This data can be anything—pictures, text, sounds, or numbers. The more high-quality data an AI model is given, the more information it has to learn from. Think of it this way: a chef that has learned to cook by tasting thousands of different ingredients and recipes likely has a more refined palette. To stay up-to-date and accurate, AI models often need to be fed new data over time.

2. Training
After we collect the data, the AI model is trained on it. This is a lot like a student studying for a test. The AI is given the data and an objective (for example, “find the difference between a dog and a cat”). It runs through the data over and over again, making adjustments and getting better with each try until it can accurately complete the task.

3. Inference
Once the AI model is trained, it’s ready to be tested on new data! When you start taking picture of a new friend and your phone uses what it learned about facial recognition to correctly tag them, that’s known as inference. The AI is using its knowledge to make a real-time prediction or decision on something it hasn’t seen before.