Based on the images, here's a classification:
Answer: 1, 3, 4, 5, 6 are snacks. 2 is a spice. 7, 8 are fruits.