The component of the nervous system that is the last to be involved in the process of swatting at a mosquito is axons in motor neurons.
When the mosquito lands, sensory neurons send signals to the central nervous system through their dendrites and axons. The brain processes this information and sends a signal back through the motor neurons, which use their axons to relay the command to the muscles in your hand to swat the mosquito. Therefore, the axons in the motor neurons are the last component that carries the signal out to execute the action.