Adductor magnus
Muscles
This is an adductor, a muscle that pulls a body part back toward the middle. The adductors in your thigh squeeze your legs together, like when you grip a horse.
More detail
ADDUCTOR MAGNUS (MUSCLE)
The adductor magnus is a large triangular muscle, situated on the medial side of the thigh.
It consists of two parts.
The portion which arises from the ischiopubic ramus (a small part of the inferior ramus of the pubis, and the inferior ramus of the ischium) is called the pubofemoral portion, adductor portion, or adductor minimus, and the portion arising from the tuberosity of the ischium is called the ischiocondylar portion, extensor portion, or "hamstring portion".
Due to its common embryonic origin, innervation, and action the ischiocondylar portion (or hamstring portion) is often considered part of the hamstring group of muscles.
The ischiocondylar portion of the adductor magnus is considered a muscle of the posterior compartment of the thigh while the pubofemoral portion of the adductor magnus is considered a muscle of the medial compartment.
Definition from Wikipedia, CC BY-SA 4.0.