Research shows that considering how we will be remembered when we die can help us improve our mental health and find more meaning during our lives – including if we are still young.