Metamaterials are designed to have a negative refractive index, allowing them to bend light around an object, effectively making it invisible. When light waves encounter these materials, they are directed around the object and continue on their original path, making it appear as though the object is not there. This phenomenon is crucial for achieving optical cloaking.