The networks are loosely inspired by the brain: layers of connected units pass signals forward, and each layer picks out more complex features than the one before. In an image model, early layers detect edges, later ones shapes and the final ones whole objects. Training adjusts millions or billions of connections until the output is right.
Deep learning took off in the 2010s, when large datasets and powerful graphics chips made it practical. It needs far more data and computing power than older methods, and it is harder to explain why a deep learning model reached a particular answer. That opacity matters when its decisions affect people.