The term is operetta (or musical theatre / musical).
Operetta: Lighter than opera; spoken dialogue alternates with songs/dances; romantic/comic plots; smaller orchestra; accessible melodies. Examples:
Note: La Bohème and Carmen are operas (through-sung, no dialogue). The modern "musical" (Broadway/West End) evolved from operetta but integrates book, music, and dance more seamlessly.