What is the text of an opera called?

What is the text of an opera called?