Neural networks are barely superficially like brains in that they are both composed of multiple functional units. That is the extent of the similarity.