CO2 pollution

In what two ways do scientists know that modern CO2 increases are due almost entirely to human activities?