In order for a buffer to effectively maintain a pH within a certain range, it must have both an acidic and an alkali component. Examples of buffers include a mixture of acetic acid and sodium acetate or a mixture of ammonia and ammonium hydroxide. When an acidic or alkali solution is added to a buffer, individual components of the buffer are able to neutralize the solution to maintain the target pH.