java.util.stream package contains the majority of interfaces and classes that provide functionality to streams and aggregate operations.
A stream is a sequence of elements. Unlike a collection, it is not a data structure that stores elements. Instead, a stream carries values from a source through a pipeline.
Syntax: