The quote means that sadness and humor are connected, and humor is a great way for someone to combat sadness in their life. In other words, using humor can help a person to cope with their sadness in a positive and healthy manner. Humor can be used to lighten the mood when feeling sad, provide positive and humorous distractions from the sadness, and bring people together to share in laughter.