From the Super Mario Wiki, the Mario encyclopedia
Happiness Medals have an important role. To receive one, Yoshi must complete the tasks given by the Spirits. A number of Happiness Medals are required to go to the next chapter. There are two types of Happiness Medals that Yoshi can obtain, the Silver Medal and the Gold Medal.