Why is gasoline weighted more heavily than tomatoes in a calculation of the annual inflation rate in the United States?

Why is gasoline weighted more heavily than tomatoes in a calculation of the annual inflation rate in the United States?