Fire. But I’m not sure if it is an invention or a discovery or fits into some other category. Humankind needed to be able to control fire to build civilization. As well as for cooking, it is used to extract metals from ores and build tools. There would be no electricity, iphones or computers today if we could not control fire!