Storing the result of a comparison in a variable can make code easier to work with and easier to read.