Written and reviewed by Manish Kulkarni · About the author
An artificial neuron takes several numbers as inputs, multiplies each by a "weight" that says how important that input is, adds the results together with a small adjustable number called a bias, and passes the total through a simple function that decides how strongly to "fire". It is loosely inspired by biological neurons, though the real mechanism is quite different.
That is all a neuron does. The power comes from having millions of them wired together.
A network arranges neurons into layers. Data flows in through an input layer, passes through one or more hidden layers where patterns are combined, and a result comes out at the output layer.
At the start the weights are random, so the output is nonsense. Training adjusts them gradually using a process called backpropagation. The network makes a guess, compares it with the right answer, works out how wrong it was and which weights contributed most to the error, and nudges those weights slightly. This repeats millions of times (see How AI Actually Learns).
"Deep" just means many hidden layers between input and output. Modern large language models have dozens of layers, and some have over a hundred.
Chatbots such as ChatGPT, Claude and Gemini are built on a design called the transformer. Its key idea, attention, lets the model weigh how much each token in the text matters to every other token, so that in a sentence like "the trophy didn't fit in the suitcase because it was too big" it can work out what "it" refers to. You do not need the maths to use these tools, but it helps to know that the model reads text as tokens and relates them to each other through attention.
Each layer builds on the one before it, turning simple low-level patterns into increasingly abstract ones. That layered composition lets neural networks handle tasks too complex for hand-written rules.
No — using AI tools well doesn't require understanding the underlying mechanics. This lesson matters more if you're building or fine-tuning models yourself.
No — simpler techniques like decision trees and linear regression exist and are sometimes better suited to smaller, more structured problems, as covered in an earlier lesson.
Modern large models can have hundreds of billions of parameters (the weights between neurons) — vastly more than any earlier generation of neural networks.