The groove is actually one of the main circulatory "ateries" for that larva. A lot of insects have them but they're especially apparent on caterpillars etc.... If you watch carefully enough you can usually see the rythmic contraction moving down the length of the vein.