TMS stands for transcranial magnetic stimulation. It is commonly used to treat forms of depression by stimulating the brain non-invasively using electromagnetic fields, similar to those produced by an MRI machine.