Epidemiology

In a cohort studying time to dementia, some participants die before dementia can occur. Why can death be a competing event?