Enumerables - how does Enum.reduce work with maps

it would be nice with an example that i can relate with