How Does a Neural Network Learn?