def remove_elements(list1, list2):
    items_to_remove = set(list2)
    return [item for item in list1 if item not in items_to_remove]