The Yule log originated in Scandinavia as part of ancient winter solstice celebrations, where a large log was burned to symbolize the return of the sun and to ward off evil spirits. Over time, this pagan tradition was absorbed into Christian Christmas celebrations across Europe.