A neural network is a system inspired by the human brain that learns patterns from data.
It consists of layers: input, hidden, and output layers.