M-LOK (Modular LOcK) is a device used on handguards to mount sights/accessories on handguards. It was invented by Magpul Industries in the 2000's. When not in use, the holes can act as cooling vents to prevent overheating.