In the previous example, when we worked with the merge operator, we saw that it was easy to work with elements of the same type, but the merge operator fails when it comes to combining elements of different types. Hence, there arises a need for an operator that can combine elements of different datatypes.