Question d’entretien chez Mediaire

What is a loss function and what makes a loss function work?