Gadolinium is a chemical element with the symbol Gd and atomic number 64, classified as a lanthanide. In the medical field, it is primarily used as a contrast agent in Magnetic Resonance Imaging (MRI) to enhance the quality of the images produced. This element has unique magnetic properties that make it particularly useful for improving the visibility of internal structures in the body during imaging procedures.