MRI is the best method of assessing brain function. X-rays do not image soft tissues well or with high resolution. They also produce only two-dimensional images of a structure. Sonography cannot be used to study the brain because sound waves cannot pass through the body skull.