The adductor magnus is a large skeletal muscle in the thigh that primarily functions to adduct, flex, and medially rotate the thigh. It plays a critical role in movements such as bringing the thighs together, stabilizing the hip joint, and aiding in locomotion.