Learn the operations that build lazy stream pipelines.
Intermediate operations on Java Streams return another Stream and are lazy. They form a processing pipeline that is executed only when a terminal operation is reached.
Since intermediate operations are lazy, they do not execute until a terminal operation such as collect or forEach is invoked.