What element are in a hydrocarbon?

Carbon and hydrogen are the elements in a hydrocarbon.