The water molecule acts as a base because it