Yams and sweet potatoes are two entirely different root vegetables. Although in American grocery stores, they are often labeled incorrectly or sold as the same thing. Yams have a brownish/beige exterior and are starchier than sweet potatoes. Food & Wine has an interesting article about how the confusion over yams and sweet potatoes goes all the way back to the Trans-Atlantic slave trade.