How may dreaming help the nervous system?

A. Nerves only regrow when someone dreams

B. Dreams are the brain‘s way of fighting infections

C. Dreaming is the only time the brain stops working

D. Dreams help the brain sort memories