The Matrix is an American media franchise consisting of four feature films, beginning with The Matrix (1999) and continuing with three sequels, The Matrix Reloaded, The Matrix Revolutions (both 2003), and The Matrix Resurrections (2021). The series features a cyberpunk story of the technological fall of humanity, in which the creation of artificial intelligence led the way to a race of powerful and self-aware machines that imprisoned humans in a virtual reality system (the titular Matrix) to be farmed as a power source. Occasionally, some of the prisoners manage to break free from the system and, considered a threat, become pursued by the artificial intelligence both inside and outside of it.
One of Morty's quotes when interacting with him in the lobby mentions the red pill and blue pill from the first Matrix movie. Said quote is actually recycled from the sixth episode of the third season of Rick and Morty, "Rest and Ricklaxation".