Ropstam Interview Question

What is the difference between filter and map?