An inserter changes an assignment operation into an insertion. It is used to modify algorithms that perform assignments (such as copy), into forms that can be used to add elements into a collection.