In Star Trek: Strange New Worlds Season 2, a bold move was made by exploring the American musical tradition. It was a risky choice to go where no Star Trek series has gone before. Of course, it's not the first genre show to feature a musical episode, and it shares something in common with the first.
Source:https://www.cbr.com/strange-new-worlds-buffy-musical-episode-similarities/