Answer:
Ammonia doesn't contain any hydroxide ions to begin, but it's dissolved in water acquires hydrogen ion from the water to produce hydroxide as well as ammonium ions. However ammonia doesn't fully convert into hydroxide and ammonium ions in solution that's why ammonia is a weak base.