Question: when did coal become a major energy source
Answer: It became important in the Industrial Revolution of the 19th and 20th centuries , when it was primarily used to power steam engines , heat buildings and generate electricity .