It was ancient era; 420 million years ago when fire first evolved.
As per the findings, fire was evolved by rubbing two flint stones against each other. Due to this frictional movement, the spark is created.
The control on fire was taken by Homo Erectus which was turning point in technological evolution of human beings
Fire provided source of warmth, protection from predators, a way to create more advanced tools & method of cooking.