Walmart interview question

what is stream api? How do you use it?