Good questions. Preserve is an action verb that means to keep or to conserve.
The sentence you showed us should really have a comma after charcoal, just for clarity's sake. You may not be the only test taker who was confused by that sentence. The idea of the sentence is "They tried to preserve burning logs or charcoal, because they didn't know that they could create fire themselves."
Hope that helps. :D
Student or Learner