What does tone mapping actually do?

Does anyone have a 'before and after' photo to show tone mapping in action?

Thanks