We use can/could to describe ability, and we use can’t/couldn’t to describe absence of ability.
She could play the piano very well.
Children can’t concentrate for long periods of time.
I can speak Chinese.
Possibility
We also use can to talk about possibility.
Anyone can win this competition. All the participants are very good.
I can’t come to the party next week.