Often you can use both.
Rozumět can be used for just understanding the words being said, to hear them properly and clearly. Chápat cannot be used for that.
Chápat is better when there is getting something involved. Understanding some logic, some implication, understanding someone's argument. Also understanding why someone did something, although both can likely be used.