Agriculture. The move from a hunter-gatherer society without permanent settlements to fixed dwellings and cultivating crops led to modern society and opened the door for people to advance.
But yes, cooking/fire is an equally good one. Better, perhaps, because it let more people be sustained on less food.