Shield bugs, like almost all bugs, live by sucking the sap of plants, usually flowering plants. They have a "layered" defence system. From a distance they are difficult to see because they are camouflaged. Then, they have a tough armoured back. Lastly, if touched, they give off revolting scents, rather like stink bugs (which are a related group).