Treehouse of Horror XXVII

Treehouse of Horror XXVII is the fourth episode of Season 28, the 27th annual Halloween special and the 600th episode of The Simpsons.

Synopsis
The episode has a theme. The three main segments include:

Dry Hard - Mr. Burns introduces a Hunger Games-style contest in which Springfield's children fight each other for a day in Burns' personal reservoir.

BFF R.I P. - Lisa's imaginary best friend, Rachel, is jealous of Lisa's real best friends and starts killing them so she could spend more time with her.

Moefinger - Moe tells Bart that the barflies are actually covert agents and that he wants Bart to join their team in Homer's place.

Intro
Homer takes the family to buy christmas trees on Halloween night with the excuse that "in America, everything's way too early". At the Christmas trees lot, the family is surprised by Sideshow Bob, one of the Rigellian aliens and the ghost of Frank Grimes, who want to get their revenge on the Simpson family. However, a Leprechaun appears and convinces the trio to dance before they attack. Maggie grabs a knife and cuts their heads off.

After the title screen, Frank manages to put his head back on and questions about "stopping these people". The screen is then filled with clips from all the episodes so far and a counter goes from 0 to 600. Frank then says that in Hell, they make you watch all the episodes in a row. It then shows a fake episode called Planet of the Couches that captures the Simpson family, with their eventually escaping.

Dry Hard
The segment takes place on a post-apocalyptic Springfield, where the city has suffered a drought, and the very little water there still is very expensive. Mr. Burns, who controls all the water in the town makes an announcement to them, saying that a child from each neighborhood has to participate in a gladiator like battle, and the winner will be awarded a day at Burns' reservoir. Lisa is the selected child from the Nevergreen Terrace neighborhood, and she soon met her coach, Homish. At the battle, Ralph dies before the event starts, as getting blown up when he stepped out of the area.

Later, two boys manage to seduce Lisa, but Homish kills them. Later, Homish falls on a trap and is surrounded by other contestants, but Lisa convinces them that they don't have to kill each other. She also convinces the population of Springfield to turn against Mr. Burns. They free all the kids from the dome and destroy Burns' reservoir, which they immediately regret as the water was completely wasted. However, the water that escaped the reservoir caused a rain, that caused a flood and later an ice age.

BFF R.I P.
Lisa is playing hide and seek with Janey Powell when Ned Flanders' lawn mower suddenly turns on and kills her. At Janey's funeral, Sherri and Terri say that as Lisa has lost her best friend for life on a tragedy and is now interesting, she can be their best friend for life, but they are immediately crushed by a falling tombstone. To forget the trauma of losing three best friends for life in two days, Lisa goes to a counselor, who says to Lisa that she can think about her as her best friend for life, but the doctor is killed by a falling painting.

At the doctor's funeral ceremony, Lisa starts being investigated for the murderer of her friends. Chief Wiggum finds sparkle nail polish on Lisa's room and claims that it was found on all four crime scenes. Lisa reveals that she only used it with her former imaginary friend Rachel, but she eventually outgrew her.

The next day at the school bus, all the kids fear Lisa except Milhouse, but Rachel appears and asphyxiates him with a plastic bag. Chief Wiggum sees observes on the bus and arrests her. At jail, Lisa mentions that Marge was right about Rachel, which infuriates her even more. Lisa soon realizes that Rachel will try to kill Marge and escapes jail with Bart's help.

Lisa gets home in time to save Marge from being killed and Rachel reveals her plan to kill everyone who Lisa loves and people will blame Lisa as nobody can see her. Rachel tries to kill Homer, but he occupies her with his imaginary friend: Sargent Sausage. Rachel shoves Sargent Sausage into the microwave and he explodes. Lisa then realizes that as Rachel only exists in her imagination, she can turn her into anything she wants, so she turns Rachel into her own mother, who is married to a dentist. Rachel then disappears forever. Homer, sadden by the loss of Sargent Sausage, eats his remains from the microwave, but Sargent Sausage reveals that he can't die, and the segment ends with Homer ordering him to get in his stomach.

Moefinger
Bart is being chased by Dolph, Jimbo and Kearney when he enters Moe's Tavern through a backdoor. Moe appears, incapacitates the bullies and opens a secret lair under the tavern, revealing that all the barflies are in fact, secret agents saving the world. He then reveals that he wants Bart to take Homer's place, as he was one of their best men who was lost in action.

Later, they receive information on their next target: Remoh Industries, a multi-billionaire company and the new owner of Duff Stadium. At the company, they break in and find out that the company's boss is Homer. He then reveals that he has created a lava machine to make all the world surrender to him and he wanted all the beer to celebrate. When the agents were going to attack Homer, he sends a horde of people to fight them, Bart manages to escape the fight alive and kills his own father.

The episode finishes with a James Bond-like song number that celebrates 600 episodes.