The roles of the sympathetic and parasympathetic nervous system

What are the roles of the sympathetic and parasympathetic nervous system? When are they active, and what physiological changes occur? Give one specific example of when one or the other would be active.