Natural gas flaring is the process by which the surplus of natural gas generated during oil exploration is burned because it is not economically viable to use it.
Bitcoin mining has created an opportunity to monetize this otherwise wasted energy. The energy obtained from flaring can be used for bitcoin mining. The company Exxon has stated a project regarding this issue and the same principle can be applied to biogas and the unused emissions of dumps and landfills.
For further information, read this article