A feedforward neural network (aka multilayer perceptron or deep feedforward network) is a supervised learning network in which information only flows forward.
Loss functions are used to quantify to what extent a prediction was right/wrong (rather than simply if it was right or wrong.) The purpose of a loss function is to work as part of the optimization process to update a neural network so that it reaches the desired result.