Rhubarb is a vegetable. People often mistake it for a fruit because it is frequently used in sweet recipes, like jams, jellies, and desserts to offset the sour flavor.