A neural network comprises several neurons that process input and produce output automatically based on data from other nodes and nodes in the network. In essence, they find solutions by trial and error.
Human and animal brains serve as the foundation for neural networks. While neural networks can outperform humans at games like chess and go, they are incapable of matching a human toddler's or most animal species' cognitive capacities. Read this blog
what is neural networks in Data Science to know how does neural network work.