Two apartments, one hallway, lyrics about a cat and a theme song that gets stuck in your head no matter what. We could be talking about “Friends” or “The Big Bang Theory,” but the line between the two worlds might not matter much anymore after you see how the two casts met up!

A mashup of sitcom royalty happened on Sunday (Jan. 24) at the taping of NBC’s tribute to James Burrows. A few cast members of “The Big Bang Theory” grabbed a picture with the reunited “Friends” cast (sans Matthew Perry), and Kaley Cuoco was kind enough to Instagram the moment for all the world to see.

RELATED: ‘Friends’ co-creator shoots down possibility of reunion movie

While Matthew Perry couldn’t attend the tribute due to rehearsals for a new play in London, the rest of the Central Perk game turned out, and they look gorgeous as ever. Cuoco was just as big a fan as the rest of us, captioning the photo, “Ummmm NIGHT MADE. Can’t breathe #friends meets #bbt@bigbangtheory_cbs I died and went to heaven.”

We’re sure they chatted the night away about what it’s like to be on a network television ratings giant, and how awesome it is to get to work with your best friends for 10 years in a row.

RELATED: ‘The Big Bang Theory’s’ Mayim Bialik wins her first ever award

Between the two casts in the photo, they’ve got two fictional Ph.Ds, an engineer, two waitresses, two actors, one masseuse, two fan-favorite romances and whole lot of best friends.

Both casts are set to appear in the two-hour special to honor James Burrows on Sunday, Feb. 21 on NBC.

Posted by:Lindsay MacDonald

Lindsay MacDonald is a Los Angeles based entertainment reporter with an affinity for CW superheroes. She graduated from Pepperdine University with a major in Media Studies and a borderline unhealthy obsession with TV in 2012. She would much rather spend the day binge-watching ‘The Flash’ or sorting ‘Game of Thrones’ characters into Hogwarts houses than venturing outdoors. TV words to live by: “Never ignore coincidence. Unless, of course, you’re busy. In which case, always ignore coincidence.”