Continuing the topic of "how our brains work", both the Neuronify program (https://ovilab.net/neuronify/) and "Handbook of Brain Microcircuits" book by Gordon M. Shepherd and Sten Grillner are very relevant.
We have many types of neuron cells arranged in different ways to continue functioning.
Some of them help to control our heart, some help with detecting motions or some other type of input information.
The fact remains, though: some neuron arrangements are useful for specific groups tasks.
Neuronify has a library of models, "Handbook of Brain Microcircuits" has a lot of explanations.