It was a devastating year with natural disasters, such as catastrophic floods, wildfires and earthquakes affecting millions.