Dr. Robotnik is an asshole. He stole the sacred Chaos Fries, cooked in Chaos Emerald-infused oils. With them, he has built an army of robots, and his flying fortress, Chrome Castle Zone. If you can acquire the Chaos Emeralds, you may be able to neutralize the Chaos Fries.