Caffeine is present in tea as well as coffee, and it is known for its stimulating effect on mind as well as the body. However, excessive caffeine in body can lead to many side effects such as insomnia, headaches, frequent urination, etc. Caffeine in black tea compared to that in coffee is safer because of its varying amounts.