The Italian word "oratorio" originally referred to a small oratory, a place of prayer and devotion. Later, it came to be associated with the musical performances that were held in these spaces, which often focused on religious themes.
The first oratorios were developed in Italy during the 16th century, and the word itself has been used in English to describe this musical genre ever since.