Why were World War I and World War 2 called 'World' Wars?

Because most of the major countries of the world were involved. Incidentally, World War 1 was called the Great War until World War II.