> Makes me think if all those insets that mimic plants are really just a matter of adaption and evolution or they got some plant genes.
If you mean insects that look like plants, then no. The genes that control and influence morphology are completely different (in theory a gene for something like a pigment could transfer, but I'm not aware of any examples).
But if you mean insects that, for example, smell/taste like plants (either to plants being eaten, or to other insects), then maybe. But a common strategy that achieves this is for the insect to just store whatever compounds they need from plant material they eat, and that doesn't require gene transfer.
If you mean insects that look like plants, then no. The genes that control and influence morphology are completely different (in theory a gene for something like a pigment could transfer, but I'm not aware of any examples).
But if you mean insects that, for example, smell/taste like plants (either to plants being eaten, or to other insects), then maybe. But a common strategy that achieves this is for the insect to just store whatever compounds they need from plant material they eat, and that doesn't require gene transfer.