Yes, that's why planting trees to offset carbon emissions is not really as good an idea as it seems, trees can live a long time but they're not immortal, and when they die they release their carbon back into the environment.
Meanwhile they liberate oxygen, which I enjoy daily.