This trial studies how well magnetic resonance imaging (MRI) works in detecting heart damage in patients with cancer receiving chemotherapy. Diagnostic procedures, such as MRI, may help doctors predict whether patients will have heart damage caused by chemotherapy in patients with cancer receiving chemotherapy.