General anesthetics primarily act on the central nervous system. They work by enhancing the activity of inhibitory neurotransmitters, such as GABA, or by inhibiting excitatory neurotransmitters like glutamate. This leads to a depression of the central nervous system, resulting in unconsciousness and lack of sensation.