Pineapple??🍍

Can someone explain to me how eating pineapple helps and how to go about eating for help? Is it only the core or the whole thing? When should I eat it and how long for?