CH3COOH+H2O⇌ CH3COO-+H3O+.
In this reaction, H2O acts like
strong base
strong acid
weak acid
weak base
CH3COOHWA+H2OWB⇌ CH3COO-SB+H3O+SA