The three-layered neural network consists of three layers - input, hidden, and output layer. When the input data is applied to the input layer, output data in the output layer is obtained. The hidden layer is responsible for performing all the calculations and ‘hidden’ tasks.