HIV (Human Immunodeficiency Virus) is the virus that attacks the immune system, while AIDS (Acquired Immunodeficiency Syndrome) is the late stage of HIV infection that occurs when the immune system is severely damaged. A person can live with HIV for many years without developing AIDS, especially with proper treatment.