Neural networks model the brain via convergent evolution. I don't have a link for this offhand, but I remember seeing several studies that discovered that if you train ANNs on at least some of the same data sources that the developing brain trains on, they develop the same sorts of structures and match to the same features.