This meaning refers to music written for or performed by two voices or instruments.
The singers performed a beautiful duet.
The concert included a violin and piano duet.
This broader meaning refers to two people performing, speaking, or acting together as a pair.
The dancers presented a graceful duet.
The scene became a comic duet between the actors.