Magnesium alloys are a class of materials composed of magnesium as the primary metal along with other alloying elements, such as aluminum, zinc, manganese, copper, and others. These alloys are known for their lightweight, high strength-to-weight ratio, excellent mechanical properties, and relatively