Ans: Thigh bone muscle near femur divides into medial, anterior, posterior and gluteal compartments. The femur mainly lies in the anterior compartment. Here is a description of the compartments:1. Anterior Compartment  It contains the muscles that are used mainly for hip flexion and knee extension. Hip flexor muscles are pectineus, Sartorius, and iliopsoas muscle.2. Medial Compartment The function of this compartment is leg adduction. It includes the Obturator externus, adductor Magnus gracilis, adductor brevis, and adductor longus.3. Posterior Compartment These muscles are mainly the knee flexors and hip extensors. It contains semimembranosus, semitendinosus, and biceps femur muscles.4. Gluteal Compartment Its superficial layer is composed of medius, minimus, and gluteus maximus, and the primary function of this is abduction, hip extension, and internal rotation. In contrast, the deeper layer is composed of the obturator internus, quadratus femoris, piriformis and inferior and superior gemellus, and this muscle mainly helps with the hip's external rotation.