A convolutional neural network slides small filters across its input to detect local patterns, which is what made it the standard approach for images.
A convolutional neural network slides small filters across its input, looking for the same local pattern everywhere. It is the architecture that made image recognition work.
The trick is weight sharing. One filter that detects an edge is reused across the whole image, so the network learns far fewer parameters. A pattern learned in one corner is recognised in any other.
Think of it like this. Think of moving a small stencil across a page, checking everywhere for the same shape. You do not need a separate detector for every position, because one stencil works anywhere you put it.