The flesh in the majority of sweet potatoes is orange. A yam is white inside. So, you're eating candied SWEET POTATOES at Thanksgiving, not candied YAMS.
The confusion in labeling between "yams" and "sweet potatoes" is actually perpetuated by the USDA! Read more here.
See this handy explanation flow chart from HuffingtonPost.com