Tokamaks are a type of magnetic confinement device used in nuclear fusion research to produce controlled thermonuclear fusion power. They are designed to confine a hot plasma in a torus-shaped vacuum chamber using strong magnetic fields, with the goal of achieving the conditions necessary for nuclear fusion reactions to occur and be sustained.