Methane (CH4) is the primary component of both biogas (50-75%) and compressed natural gas (CNG, 90%+). It's a simple hydrocarbon and clean-burning fuel. Options A, C, and D are other hydrocarbons (acetylene, ethane, ethylene) but are not major components of these gas mixtures. Option B (CH4) is correct.