How was Stalingrad a turning point?

The Battle of Stalingrad was widely viewed as Nazi Germany's first major loss in battle. It marked the end of Germany's seemingly unstoppable advance and the start of their retreat and eventual surrender.