A single artificial unit takes several input numbers, multiplies each by its own weight, adds the results, and passes that sum through a simple nonlinearity. Written out, the unit computes \(y = f(w_1 x_1 + w_2 x_2 + \dots + b)\), where the \(x_i\) are the inputs, the \(w_i\) are learned weights, \(b\) is a learned offset, and \(f\) is a fixed nonlinear function such as a rectifier that passes positive values through and clips negatives to zero. The weights decide what the unit is sensitive to; the nonlinearity is what stops the unit from being just a weighted average.
One unit is weak. Its response is essentially a single weighted sum, so it can only express one simple preference — brighter here, darker there. The change that matters is putting many units side by side in a layer, each with its own weights, and then feeding that entire layer's outputs into a second layer. Now the second layer is not looking at raw pixels; it is looking at the first layer's responses. That is the whole trick of depth: each layer re-describes the previous layer's output, so combinations of simple preferences become available to the next layer.