In this forum we have a rule that you participate in getting the answer to your question.
Often we point the new members to the resources on the internet like GOOGLE and WIKIPEDIA.
Wikipedia is a good starting point to find your initial understanding by providing insight into the topic.
The Wikipedia also has references at the bottom that can give you further good resources for your answer.
Once you have some understanding of your topic you can use Google to search.
Since you have insight from reading Wikipedia, you will know the terminology to do the searches.
Try looking at this link
https://en.wikipedia.org/wiki/CaffeineThe whole article is very informative including the portion on synthesis
https://en.wikipedia.org/wiki/Caffeine#SynthesisFrom there you can go on to other resources and read more.
If you still do not understand what you need to know please come back and we will try to help you learn the answer.
By the way from the forum rules
You have to show your attempts or thoughts at solving the question to receive help.
This is a forum policy.
Click on the link near the top center of the forum page.
Forum Rules: Read This Before Posting.
http://www.chemicalforums.com/index.php?topic=65859.0