Major world leaders have gathered for the G20 summit in Brazil to discuss funding for climate solutions, alleviating hunger and addressing the war in Ukraine.