The Return of Cosmo

Plot Summary
Right after Dark Oak and the Meterex were defeated and Cosmo sacrificed herself to save the galaxy, Tails, Cream and Cheese uses the seed that Sonic gave him in season 3 episode 78: So Long, Sonic, and he plants the seed, which eventually makes it Cosmo's return.

Transcript
The Return of Cosmo transcript