Algorithm
An algorithm is a set of clear, step-by-step instructions that a computer follows to solve a problem or complete a task. You can think of it like a recipe, it tells the computer exactly what to do, in what order, and how to do it. Just like a cake recipe has steps like “add sugar” and “bake at 180°C,” an algorithm might include steps like “compare numbers” or “sort this list.”
In the world of AI, algorithms are used to teach machines how to learn, make decisions, and carry out complex tasks. Different types of algorithms are used for different purposes, some are good at recognizing patterns, others at making predictions. Without algorithms, AI wouldn't know how to function or learn from data.