I think the correct answer would be comparison. When two or more ideas or objects are observed by their similarities, a comparison is made between the objects. You are relating ideas or objects basing on what characteristics they are the same. When they are observed based on their differences it is called contrasting.