The neurons are connected by links, and each link has a numerical weight associated with it. Weights are the basic means of long-term memory in ANNs.
They express the strength, or in other words importance, of each neuron input.
A neural network ‘learns’ through repeated adjustments of these weights.