These are all ways to attach things like sights and grips to your gun. Picatinny Rails have ridges; M-LOK has slots for a cleaner look; and Keymod uses holes. Which one you choose depends on what you like and what you're attaching.