API Keys



I have a question regarding API Keys,

I found a php code for fetching tweets, the program uses the API Key and The API secret only without the need of the Access token nor the Access token secret!

my question is what is the difference between those 4 keys and what does everyone of them does?

Best Regards.