Compare may refer to any of the following:
1. The process of examining the similarities or differences of data or files and then listing them. Comparing files or text is an easy way of finding all changes between two different files. An example of why you may want to compare could be to find changed lines in code that caused a program to stop working.
2. In general, compare is the action of looking at the pros and cons of two or more things. For example, you could compare the differences between using an Apple computer and a PC to decide on buying one or the other.