Opportunistic infections (OIs) are illnesses that occur more frequently and are more severe in people with HIV. This is because they have damaged immune systems. Today, OIs are less common in people with HIV because of effective HIV treatment. their HIV treatment may not be working properly.