Retrofit concepts in Depth

I want to know how to add headers dynamically.

And What is an Interceptor, could anyone let me know when to use this.