Which literary device is used to present the light of or funny side of a story

Humor is the literary device that is used to present the light or funny side of a story. By injecting humor into a narrative, authors can make their readers laugh or smile, providing comic relief and adding a layer of enjoyment to the storytelling.