KVM Switch

What is KVM switch?What KVM do I need? Why do I need a KVM instead of an HDMI switch?