This larva is starting to transform into a pupa, as in the next photo. Both the larvae and the adult beetles consume vast numbers of aphids.