Fire kept people warm, scared animals away and cooked their food. Humans learned to control fire hundreds of thousands of years ago.