A cloaking device is a form of stealth technology that uses selective bending of light (and other forms of energy) to render a starship or other object completely invisible to the electromagnetic spectrum and most sensors. It has been encountered in varying forms over the centuries. In order to function, a cloaking device needs to be tied into a ship's deflector shield grid.