Question
Why is base needed in the following reaction:

Solution
The acid generated in the reaction can form a salt of the amine which thus will lose nucleophilic character and the reaction will not proceed to completion.
(CH3)2NH + HCl → (CH3)2NH2⊕ClΘ
So, a base is needed to facilitate the reaction.