Both coffee and chocolate have components that can improve mood. Coffee is known for its caffeine, which can provide a boost of energy and attention. Chocolate, especially dark chocolate, contains phenylethylamine, which can alleviate depression symptoms by inducing feelings of euphoria. However, their consumption should be moderate, as excessive intake can bring counterproductive effects.