The Purpose of Compare/Contrast in Writing Comparison in writing discusses elements that are similar, while contrast in writing discusses elements that are different. A compare-and-contrast essay, then, analyzes two subjects by comparing them, contrasting them, or both.