The primary somatosensory cortex is a region of the brain located in the postcentral gyrus of the parietal lobe, responsible for processing somatic sensations such as touch, temperature, and pain. It is organized somatotopically, meaning different areas correspond to sensations from different parts of the body, forming a sensory map known as the homunculus.