dden layer is connected to each part of the output layer, and all the hidden layers between are connected to each other. They are all connected by synapses which change to value of each layer depending on the previous one.
Weights & Biases
There are two key parts in a Neural Network that you must know and those are weight and biases, but what even is that?
As I mentioned before, when we give an input to a machine it changes the value of each layer depending on the previou input. This is basically what a weight is, it decides how much influence the input would have on the output. Now, what are biases? Biases will always add an additional input to the next layer that always have a value of 1. In turn, weights are what decides the changed value, whereas biases add value to any input with the value of one.