A neural network is a method in artificial intelligence that teaches computers to process data in a way that is inspired by the human brain.