Nearly 200 countries agreed at COP28 to begin transitioning away from fossil fuels to combat climate change, following two weeks of negotiations.