Jalapeño pepper is botanically a fruit. Despite being commonly thought of as a vegetable, peppers, along with a variety of other foods like tomatoes and cucumbers, are actually fruits because they contain seeds and develop from the flower of a plant. Carrots and onions, on the other hand, are considered vegetables because they are non-flowering parts of a plant, specifically the root and bulb respectively.