Convolution is a mathematical operation used to combine two functions to produce a third function, expressing how the shape of one is modified by the other. It is fundamental in signal processing and neural networks, particularly in convolutional neural networks, where it helps in feature extraction from data inputs.