Magnetic resonance imaging, or MRI, gives clear, detailed pictures of soft tissue near bones, the cardiovascular system and other organs. Specifically for back pain, an MRI allows doctors to look deep inside the body without surgery and can assist in diagnosing herniated discs and nerve damage.