ieExplains: What happened at Cop28, what deal was agreed and what happens next?

A demonstration to end fossil fuels at the Cop28 Summit. Going into Cop28, environmental activists and scientists alike said it was imperative that the phasing out of fossil fuels be part of any agreement by the 198 countries if keeping global warming to 1.5C and drastically reducing greenhouse gas emissions was to succeed. Photo: AP/Peter Dejong
Almost 200 countries have come to an agreement on the need to get away from fossil fuel use in the future following marathon negotiations at the UN's climate change summit in Dubai.
The agreement at Cop28 has been hailed as "an historic moment", but there are still worries around its implementation.