How do I make an ability system?

I want to make an ability system where you gain an ability like jumping or dashing by picking it up. I can’t find any tutorials about it so if you have one, please link it. And I don’t mean temporary abilities.

Trying doing Learn.Unity’s Junior programmer Unit 4 course. it teaches exactly that (and some more).