Happiness depends on many factors, from obvious things, like enjoying good health and close relationships, to others that might not seem immediately intuitive, like engaging in generous behavior. Some of these can be learned or cultivated, and courses that teach positive mental habits – like appreciating things that matter or avoiding dwelling on setbacks – have demonstrated measurable improvements in wellbeing.