What is the purpose of the forEach() method in a stream pipeline?
a) To transform the stream into a new stream
b) To terminate the stream and return a single result
c) To perform a side-effect on each element of the stream
d) To filter the stream elements