The vagus nerve, aka the longest nerve of the autonomic nervous system, balances the nervous system by promoting a relaxation response, which can help put you to sleep and improve sleep quality.