Sonic lives in a fantasy version of Earth, a world created by Sonic Team specifically to suit Sonic and his adventures.
Rather than the real planet we know, Sonic's home is a colorful, imaginative setting filled with the loops, hills, and zones that have become iconic to the series.