Stream API (introduced in Java 8) is used to process collections of data in a functional and declarative way.