A neural network consists of one or more layers of neurons connected by weighted links with adjustable weights. Neural networks receive input data and produce an output by passing it through the network, with each neuron performing a simple computation. Although some neural networks aim to simulate the functioning of biological neurons in the nervous system, most neural networks in artificial intelligence are engineering tools that draw only loose inspiration from biology.