AI neural networks use software to simulate the processing that takes place between neurons in the brain.
AI neural networks use different weights for input of activation function. There are more than one activation function which artificial neural net can use, but it must be nonlinear in order to learn some complex pattern. The updating of weights in every cycle of learning are done by backpropagation algorithm which imulate process of learning.