Before people discovered that Earth is a planet, they often used "World" to mean "Universe". They still sometimes use it to mean all humans or all civilization. Sometimes they mean just a part of Earth such as Western world or Islamic world.
World Facts for Kids. Kiddle Encyclopedia.