The National Oceanic and Atmospheric Administration and NASA announced Thursday that 2021 was the sixth warmest year in history.