The Xbox 360 library includes Sonic Free Riders, Sonic Generations, Sonic Ultimate Genesis Collection, Sonic Unleashed, Sonic the Hedgehog and Sonic World Adventure.
They are a mixed bag in quality, which is fair warning. Sonic Generations is the one most fans point to first, since it pairs classic and modern stages in a single package, while Ultimate Genesis Collection is the pick if you want the original 16-bit games rather than a remake.
Check which titles are still purchasable digitally in your region, as older entries in a platform's catalogue do get delisted over time.