The main components of biogas and natural gas are CH4. The product gas purified by CH4 is biological natural gas (BNG), and pressurized to 25MPa is compressed natural gas (CNG). The biogas extraction device designed and produced by DEAR air separation can effectively remove impurities in biogas, such as condensate water, hydrogen sulfide and carbon dioxide, and maintain a very high recovery rate of CH4.