Social identity theory suggests that individuals derive their sense of self from group memberships and social categorisations. At the end of life, individuals may identify more strongly with aspects of their social identity, such as their religion or cultural background. End-of-life care should take these identities into account to ensure that patients feel understood and respected.