They are different classes of drugs with different mechanisms of action. Lisinopril is an ACEI (angiotensin converting enzyme inhibitor). All the ones that end in "pril" are of the same class.
The "sartan" drugs are angiotensin II(2) receptor blockers. It is confusing how the shorthand notation uses the alphabet and roman numerals simultaneously.
Basically, the "pril" drugs prevent angiotensin 1 from converting into angiotensen 2 by inhibition of the angiotensin converting enzyme.
The "sartan" drugs don't mess with the conversion; but rather block angiotensin 2 from attaching to the cell receptors in the vessel walls.
Both are great medication classes; but the ACEI (prils) can cause a buildup of bradykinin, inducing a dry hacking cough. Emergently, ACEIs can cause angioedema (swelling of the face, and possibly the upper airway); and that is life threatening.
Generally speaking, the ARBs (sartans) have a well tolerated side effect profile with rare allergic reactions compared to the "prils".
Of note, all of the patients I have seen in my career with angioedema from ACEIs have been taking the medication for years without incident.....then, oneday they are just allergic to it.