Correct option is B
The two main gases produced from anaerobic decomposition are carbon dioxide (CO₂) and methane (CH₄). These gases are generated as organic matter breaks down in the absence of oxygen, commonly occurring in processes like biogas production.