Differences between oratorio, opera, musical, and libretto

Oratorio is a large-scale musical composition on a sacred or semisacred subject for solo voices, chorus, and orchestra. It is usually based on scripture. Opera is defined as a dramatic work in one or more acts, that is set to music for singers and instrumentalists. A musical is a play or movie that has singing and dancing as an essential part. A libretto is a text of an opera or other very long vocal work.