Given a scientific question, generate a correct answer to it.

During what period on earth was coal formed?
the carboniferous period