What is a pandemic?

The World Health Organization has declared the coronavirus outbreak that has infected thousands of people in more than 100 countries a pandemic. But what exactly does that mean?