A tokamak is a machine which uses a powerful magnetic field generated by external magnets to confine plasma in the shape of an axially symmetrical torus. The tokamak is the leading candidate of magnetic confinement fusion designs being developed to produce controlled thermonuclear fusion power.