first, I wouldn't necessarily speak of concepts when relating to these words. These are just two words.
Capability means the ability to do something, for instance, "does company A have the capability to produce product B?" is synonymous with "does company A have the ability to produce product B?" In other words, "CAN company A produce product A?"
In contrast, capacity tells you about the maximum amount/extent something can do, contain, produce, etc., something. For instance, machine A can have a capacity of 2000 parts/min. So the outcome of having this machine producing parts is 2000 parts/min.
I hope this helps.