Fioricet is a combination medication that includes acetaminophen, butalbital, and caffeine. It is commonly prescribed to treat tension headaches and migraines. Acetaminophen acts as a pain reliever, while butalbital is a barbiturate that helps to relax muscle tension and reduce headache symptoms. Caffeine enhances the effectiveness of the pain relievers and helps to improve their absorption.