Reduce, also known as fold, is a higher order function that, when applied on a stream, results in a value or none. For example, sum, average, min, and max.
fold