There are many words in English having similar spelling (or) pronunciation but with different meanings.
Here, ability and capability form a pair of Confusing Words. Let’s move on to find out the difference between the two.
✻ a skill, talent, or capacity
✻ the state or condition of being able
✻ the power or ability to generate an outcome.
✻ an aptitude that may be developed
Learning English is full of confusion. As you study, You will come across many such differences.
I believe the above explanation helped you understand the difference between the two words perfectly well. Keep Learning!!