Resistance testing determines if HIV is resistant to ARV drugs. It guides treatment changes in case of treatment failure.