Yes, pimento is technically a fruit. Botanically speaking, these sweet peppers are the fruits of the Capsicum annuum plant. However, people often use it as a vegetable due to its lower sugar content than most fruits.