Because
var item
does not exists in
list2
, is a
list1
's item. You can use a for inside a for.
For each item in
list1
you look all itens in
list2
and, if the current item in
list1
is equal the current item in
list2
, you remove that item and break the internal for and go to the next loop of the first for.