What is the function of the characters of Miss Prism and Dr. Chasuble in The Importance of Being Earnest?

write in 3 sentences

Miss Prism and Dr. Chasuble serve as supporting characters who add comedy and contrast to the main characters in The Importance of Being Earnest.

Miss Prism functions as a governess who acts as a moral authority in the play, providing a stark contrast to the other characters' frivolous behavior. Dr. Chasuble serves as a comical, bumbling clergyman whose profession adds to the satire of Victorian society's values. Both characters ultimately contribute to the comedic elements of the play and highlight the absurdity of the characters' actions.

make it sound more simpler

Miss Prism serves as a serious governess who contrasts with the other characters. Dr. Chasuble is a funny clergyman who adds humor to the play. Both characters add to the comedy and highlight the ridiculousness of the characters' actions.

just answer the question don't go into detail as much