What is the function of the Chorus's odes in the play?

Ato explain characters' motivations to the audience
Bto comment on events and characters' behaviors
Cto agree with the king's words
Dto guide Haimon and Antigone