Final answer:
Fumaric acid contains two pi bonds, which are part of the double bonds within its molecular structure.
Step-by-step explanation:
The molecule of fumaric acid contains two pi bonds. This is because fumaric acid has a chemical structure of HOOC-CH=CH-COOH, where there are two double bonds between the carbon atoms. Each double bond consists of one sigma bond and one pi bond, so in total, fumaric acid has two pi bonds.