What is the Definition of Comic Relief?

Comic relief is the part of a serious work, whether it be in literature, theater, etc, that includes a funny act or dialogue, in order to ‘lighten up the mood’.