Sweet potatoes are much sweeter than yams and usually have softer flesh. Yams taste similar but are a bit milder. Both can be used for this recipe depending on personal preference.