On a rainy day, the Simpson family goes to a STEM conference, where Lisa Simpson meets Brendan Beiderbecke, a boy who is proficient in the piano, and falls in love with him.
Meanwhile, Bart Simpson does chemistry. He tries it out on his treehouse with Milhouse Van Houten where they turn the leaves of the tree into rock candy after Homer Simpson and Marge Simpson leave.
The bullies are overthrown by Brendan, including Lisa's ex-boyfriend Nelson Muntz who tries to impress her musically at Phineas Q. Butterfat's Ice Cream Parlor, starting a conflict in her heart.
Homer and Marge get worried over Bart, but he seems to be doing good for once, but an accident at school seems linked to him.
The family goes to a talent show, where Bart will put on a chemistry demonstration, while Nelson and Brendan perform. Nelson is booed all the way through while Brendan does well. However, he is disqualified for living in West Springfield and is going to be transferred to a school there. Lisa ends up alone, while Bart makes the school fill up with a chemistry reaction.
In the final scene at the talent show's after-party, Marge apologizes to the viewers stating that this episode was supposed to parody Moonlight, not La La Land. Homer states that nobody there has seen Moonlight. When Marge offers to show him that movie as they have the DVD, Homer states that he would rather see X-Men: Apocalypse which everyone in the background is interested in seeing, except for Lisa