While HIV is a virus that may cause an infection, AIDS (which is short for acquired immunodeficiency syndrome) is a condition. Contracting HIV can lead to the development of AIDS. AIDS, or stage 3 HIV, develops when HIV has caused serious damage to the immune system.
The uncertainty of the direction by which these relationships exist indicate the importance of remembering the principle of correlation virus causation.