If you have two materials that are different that are being joined together what type of connection is made ?

If you have two materials that are different that are being joined together what type of connection is made ?