Foods you cut out for bloating

Hey, what was some foods you cut out for floating? Did it also help with weight loss ? Thank you for your comments in advance ❤️