The world must ensure that people and communities are at the heart of the transition to net zero carbon emissions, writes John David