During later stages of AIDS, pneumonia or cancer may develop, which can ultimately lead to death.