Over the course of more than three decades on the air, the eponymous family in The Simpsons has traveled all over the world. They went to China so Selma could adopt a baby, they went to Italy to pick up Mr. Burns’ new sports car, they went to Brazil to search for Lisa’s missing pen pal, and they went to Canada to smuggle back cheap prescription drugs.

Binge-watching every season of The Simpsons would provide a surprisingly useful education in world geography. From Mexico to the UK to Antarctica, the Simpson family has been to a bunch of different countries.

China

Tienanmen Square as depicted in The Simpsons

The Simpsons have been to China a few times. When Bart worked as a courier in “Bart on the Road,” he was sent to Hong Kong. In “Homer the Father,” Homer was sent to China to manage the construction of a nuclear power plant in China. In “Goo Goo Gai Pan,” the whole family went to China with Selma so she could pretend to be married to Homer to adopt a child.

Bart comes back from  in The Simpsons

is another country that Homer and Bart went to individually in addition to the whole family going together. In “The Crepes of Wrath,” Principal Skinner transferred Bart to the French countryside in a foreign exchange scheme. In “The Devil Wears Nada,” Homer went to the Annual Nuclear Power Expo in Paris to act as Carl’s assistant.

In “Bart-Mangled Banner,” after the Simpsons escape from Alcatraz Prison, they’re picked up by a French freighter and move to . However, before too long, they miss America, because that’s where all their stuff is.

Israel

Homer and Ned in Israel in The Simpsons

In the episode “The Greatest Story Ever D’ohed,” Homer took the family on a church retreat to Jerusalem on Ned Flanders’ invitation. As it turned out, Ned extended the invitation in the hope of saving Homer’s soul.

The United Kingdom

The Simpsons meet Tony Blair

When Bart found a $1,000 bill in the episode “The Regina Monologues,” Lisa convinced him to take the family on vacation to London. There, they met then-Prime Minister Tony Blair and accidentally got into a car accident with the Queen herself.

That wasn’t the Simpsons’ only jaunt to the United Kingdom. In “Monty Can’t Buy Me Love,” Homer accompanied Mr. Burns to the Scottish Highlands in a bid to capture the Loch Ness Monster.

Tanzania

The Simpsons on an African safari

After finding a golden giraffe cracker in a 30-year-old box of animal crackers in “Simpson Safari,” Homer won a family vacation to Tanzania. There, they met a chimp-friendly scientist named Dr. Joan Bushwell, a parody of Jane Goodall.

Italy

The Simpsons find the remains of a family like them in Pompeii

After trashing his 1936 Stutz Bearcat at the beginning of “The Italian Bob,” Mr. Burns sent Homer and his family to Italy to pick up his new sports car: a Lamborgotti Fasterossa. There, they found Sideshow Bob hiding out with his new wife and son.

Peru

Homer arrives at Machu Picchu in The Simpsons

When Bart found Denis Leary’s cell phone in “Lost Verizon,” Marge used the phone’s GPS tracker to keep tabs on him. To teach the family a lesson, Bart attached the GPS to a bird, which sent Homer, Marge, Lisa, and Maggie all around the world. They ended up at Machu Picchu, which was Marge’s dream vacation.

Japan

The Simpsons go on a Japanese game show

When Homer lost all the family’s savings in “Thirty Minutes Over Tokyo,” they had to allow fate to choose their next vacation destination. They wound up flying to Japan with the cheap tickets of a last-minute booking.

Ireland

Homer and Grampa get drunk in Ireland in The Simpsons

The Simpsons took Grampa to Ireland in the episode “In the Name of the Grandfather.” Years earlier, Grampa spent the best night of his life at O’Flanagan’s Pub. Upon his return to the Emerald Isle, Grampa enjoyed a night of drinking at O’Flanagan’s with Homer.

Brazil

Lisa looks out at Rio in The Simpsons

In “Blame It on Lisa,” Lisa unwittingly drained Homer’s bank by sponsoring a South American orphan named Ronaldo. When Ronaldo was reported missing, the Simpsons went to Rio de Janeiro to search for him and found that he’d become a celebrity in Brazil.

The Simpson family returned to Brazil in the episode “You Don’t Have to Live Like a Referee,” after Homer became a soccer referee and was recruited as a ref for the 2014 World Cup.