Sonic the Hedgehog has appeared across a variety of consoles over the years, depending on which era of the character you mean.
The classic original Sonic games were available on the Sega Genesis/Mega Drive, the Master System, and a version was made for the Game Gear. For the modern era, a Sonic title was released exclusively for the Xbox 360 and PlayStation 3. So depending on whether you're after the retro adventures or the newer entries, there's a platform to match.