Why is the location where an immature beetle is found often useful for determining its feeding type?

Answer

The larval stage is typically the most voracious feeder in the life cycle

Observing the location of immature beetles is useful because the larval stage is usually the most voracious feeder; thus, where it is found often reveals its primary feeding type, such as a larva boring timber indicating herbivory.

Why is the location where an immature beetle is found often useful for determining its feeding type?
insectbeetlefeedingherbivoreCarnivore