I see that this works, but still don't understand why. Please explain!

Sort: