How do credit cards work?

I still don’t understand them I never had one and never been taught about credit and credit cards but I need and want to build it! So can you explain and describe everything I need to know and what everything means like this for an example was a recommendation from creditkarma.