Two compounds react to form two different compounds.

what is it called?

This is called a double displacement reaction or a double replacement reaction.