A reversed-field pinch (RFP) is a device used to produce and contain near-thermonuclear plasmas. It is a toroidal pinch which uses a unique magnetic field configuration as a scheme to magnetically confine a plasma, primarily to study magnetic confinement fusion. Its magnetic geometry is somewhat different from that of the more common tokamak. As one moves out radially, the portion of the magnetic field pointing toroidally reverses its direction, giving rise to the term "reversed field". This configuration can be sustained with comparatively lower fields than that of a tokamak of similar power density. One of the disadvantages of this configuration is that it tends to be more susceptible to non-linear effects and turbulence. This makes it a useful system for studying non-ideal (resistive) magnetohydrodynamics. RFPs are also used in studying astrophysical plasmas, which share many common features.