Name the two elements which are present both in CNG and petroleum.

Both CNG and petroleum are made up of hydrocarbons. Hydrocarbons are organic compounds that are made up only 2 elements, namely carbon and hydrogen. So, Carbon and hydrogen are the two elements present in both CNG and petroleum.