The two words essentially have the same meaning but have very small (subtle) differences. In Thai, the word 'can' would be closer to ได้ but the phrase "be able to" would be more like ความสามารถ.
สามารถให้ได้ = I am able to give.
ให้ได้ = I can give
I hope this helps!