The reaction of ammonia with an alkyl halide leads to the formation of a primary amine.
The primary amine that is formed can also react with the alkyl halide, which leads to a disubstituted amine that can further react to form a trisubstituted amine.
Therefore, the alkylation of ammonia
leads to a mixture of products.