The second-order neuron of the spinothalamic system terminates in the thalamus, specifically the ventral posterolateral nucleus. From here, the information is relayed to the somatosensory cortex for further processing and perception of pain and temperature.