Please choose the correct answer to the question: Which element is necessary for the formation of coal?

Answer1: crushed rocks Answer2: flowing water Answer3: dead animals Answer4: decaying vegetation

Answer format: answer1/answer2/answer3/answer4
Answer: answer4