Given the task definition and input, reply with output. Given scientific fact as input, generate the question from this fact such that it can be answered from the input.

Coal is nonrenewable, and the sun is renewable is how coal and the sun compare as sources of energy.
How do coal and the sun compare as sources of energy?