What is Non-Max Suppression (NMS)? Why is it needed?

Technical