Pineapple, shown with red onion, jalapeño, cilantro and lime, can provide sweet and tart flavors to a salsa.