NASA confirms that 2024 was the warmest year on record, with temperatures 2 degrees F higher than the 20th-century average.