1. Home
  2. Definitions & language
  3. What is AI?
Explainer · 8 min read

What is artificial intelligence?

Artificial intelligence is software that does tasks we'd normally say need human thinking. Here's how it actually works, minus the hype.

The short version

AIThe broad goal: computers doing things that seem to need intelligence, like understanding language or recognizing faces.
Machine learningThe main way AI is built today: the computer learns patterns from examples instead of following hand-written rules.
Deep learningMachine learning with large, layered neural networks. It powers modern image, speech and chat tools.

Artificial intelligence, defined

Artificial intelligence (AI) is the field of building computer systems that can do tasks people usually associate with human intelligence: understanding and producing language, recognizing what's in a picture, making predictions, planning steps toward a goal, or learning from experience.

The term was coined in the 1950s, when researchers first proposed that every aspect of learning could, in principle, be described precisely enough for a machine to simulate it. Since then, "AI" has meant different things in different decades. Early AI was mostly hand-written rules and logic. Today, when people say AI, they nearly always mean systems built with machine learning.

A useful way to think about it: AI is the goal (smart behavior from machines), and machine learning is the method that currently gets closest to it.

What is machine learning?

Traditional software follows instructions a programmer writes: if this, then that. Machine learning (ML) flips that around. Instead of writing the rules, you give the computer lots of examples and let it find the patterns itself.

Say you want to filter spam email. The rule-writing approach would list suspicious words and senders, and spammers would quickly work around the list. The machine learning approach shows a system thousands of emails already labeled "spam" or "not spam". The system adjusts its internal settings until it gets good at telling them apart, including on emails it has never seen. Those settings, once learned, are called a model.

Three common kinds of machine learning

  • Supervised learning: learning from labeled examples (this email is spam, this photo is a cat). Used for classification and prediction.
  • Unsupervised learning: finding structure in unlabeled data, such as grouping customers with similar buying habits.
  • Reinforcement learning: learning by trial and error with rewards, the way game-playing systems improve by playing millions of rounds.

Neural networks and deep learning

A neural network is a type of model loosely inspired by the brain. It's made of layers of simple units, each passing numbers to the next layer. On its own each unit does almost nothing; stacked in many layers with millions or billions of adjustable connections, the network can represent remarkably complex patterns. Deep learning just means machine learning with neural networks that have many layers.

Deep learning is behind most of the AI people use daily: voice assistants that turn speech into text, phone cameras that recognize faces, translation apps, and recommendation feeds.

How chatbots and generative AI fit in

Generative AI refers to models that create new content (text, images, audio, code) rather than just labeling or predicting. The chat assistants many people now use are built on large language models (LLMs): neural networks trained on enormous amounts of text to predict what words are likely to come next.

That simple-sounding objective, repeated at huge scale, produces systems that can summarize, draft, translate, answer questions and write code. It also explains their main weakness. A language model produces text that's plausible, which isn't the same as true. LLMs can state wrong facts confidently (often called "hallucinating"), so anything important should be checked against a reliable source.

What AI can and can't do well

Usually good atUsually weak at
Spotting patterns in large amounts of dataKnowing when it's wrong
Drafting, summarizing and rewording textReliable facts without a source to check
Recognizing images and speechSituations unlike anything in its training data
Repetitive, well-defined tasks at scaleCommon sense about the physical world
Generating many options quicklyTaking responsibility for decisions

Today's AI is often called narrow AI: each system is good at specific kinds of tasks. Artificial general intelligence (AGI), a system that could learn and reason across any task the way a person can, remains a research goal, and experts disagree about how close it is.

Key AI terms in one place

  • Algorithm: a step-by-step procedure for solving a problem.
  • Training: the process of adjusting a model using examples.
  • Training data: the examples a model learns from. Its quality and biases shape the model's behavior.
  • Model: the learned result of training, which you then use on new inputs.
  • Inference: using a trained model to make a prediction or generate output.
  • Prompt: the instruction or question you give a generative AI tool.
  • Bias: systematic errors, often inherited from unbalanced training data.

More letter-soup decoded in the acronym finder (AI, ML, LLM and GPT are all in there).

Quick check: AI, machine learning, or neither?

A thermostat that turns on the heat below 19°C

An email filter trained on thousands of labeled spam messages

A chatbot that writes a paragraph from your prompt

A calculator adding two numbers

Frequently asked questions

What is artificial intelligence in simple words?

Software that can do tasks that normally need human thinking, like understanding language, recognizing images or making predictions.

What is the difference between AI and machine learning?

AI is the broad goal of making machines act intelligently. Machine learning is the main method used to get there: learning patterns from examples instead of following hand-written rules.

What is machine learning used for?

Spam filters, recommendations, fraud detection, speech recognition, translation, medical image analysis and much more.

Is ChatGPT artificial intelligence?

Yes. Chat assistants like it are generative AI built on large language models, a kind of deep learning.

Can AI think like a human?

Not in the general sense. Today's AI is narrow: very capable at certain tasks, but without human-style understanding, judgment or common sense.

Is AI always right?

No. Models can make confident mistakes, especially on facts. Check important information against a reliable source.

What are the main types of AI?

By capability, narrow AI (what exists now) and general AI (a research goal). By method, rule-based systems and machine learning, including deep learning.

Related guides

Related tools

See everything in Definitions & language →

Curious what AI can do for writers?

Creativindie builds AI apps for authors, designed to help with the work rather than replace the writer. More plain explainers live in the Definitions hub.

Explore Definitions