How did the word “larva” originate and What does larva mean in Latin?

Many years ago it was the popular belief that the caterpillar concealed within itself the complete butterfly in perfect form.

It was then thought, that is, that the caterpillar served as a mask for the butterfly.

For that reason it was called larva, Latin for “mask.”