When I lived in Tucson there were two types of grubs that I commonly found. One was the larva of the June beetle, which I called the flying peanut. Brown, shiny, clumsy, about the size of a small roasted peanut, and common around lights in the summertime. The other was the juvenile May beetle, commonly called fig beetles or "June bugs," that are iridescent bright green and about as big as a quarter.
The habitat that each preferred, and the size and shape of the mouthparts, became an obvious clue to what they ate. The peanut grubs were common in veggie beds, and they had big pincers for gnawing roots (they could also clamp down on a fingertip and cause pain), while the much larger May beetle grubs were almost always in the
compost heap or under fruit trees and had tiny little mouths. So I fed the peanut grubs to the chickens with prejudice but always tried to create a little sanctuary for the big guys since they were fun to watch and I guessed that they weren't doing any harm to what I was growing.
If you went into the desert and dug under palo verde trees, you could find freaky huge grubs with massive jaws. We didn't get them in the garden but the adults flew around on summer evenings and provided tons of amusement for our daughter when she was little.