Answer:- Two elements are involved in the formation of hydrocarbons are :- Carbon and hydrogen.