A pineapple is a sorosis, which is a type of multiple fruit developed from an inflorescence.