A (Negative) divergence occurs when the price makes a higher high and makes a lower high. As in the first case. we can see a significant price fall after that.
A (Positive) divergence occurs when price makes lower low or maybe at the same level in some cases and makes a higher low. We can see a price rise after it.