Given the reaction:

NH3 + HCl --> NH4Cl

In this reaction, ammonia molecules (NH3) act as a base because they

(1) accept hydrogen ions (H+)

(2) accept hydroxide ions (OH-)

(3) donate hydrogen ions (H+)

(4) donate hydroxide ions (OH-)