In deep learning, loss functions are used to assess how successfully a neural network model executes a specific job.