What is comic relief?

A humorous or farcical interlude in a serious literary work or drama, especially a tragedy, intended to relieve the dramatic tension or heighten the emotional impact by means of contrast.