Fioricet is a combination medication that is commonly used to treat tension headaches and migraines. It contains three active ingredients: acetaminophen, butalbital, and caffeine, which work synergistically to alleviate pain and reduce headache symptoms.