Theobromine is a bitter alkaloid found in chocolate, tea, and certain other foods. It is similar in structure to caffeine and acts as a mild stimulant in the body. Consuming high amounts of theobromine can be toxic to animals, particularly dogs, due to their slower metabolism of the compound.