Well, it depends if the categories are ALL unique or not. Regardless, you'll be duplicating data with a single table. Depending on how many top-level categories you want, they should not have a parentID, but the subcategories will:
[u]id category parentID[/u]
1 produce 0
2 fruits 1
3 vegetables 1
4 dessert 0
5 cake 4
6 candy 4
As you can see, it can get fairly complicated even with just a single table.
I've seen a webpage that explained single-table categories but I can't seem to find it right now, sorry.