In order to survive a butterfly needs food, shelter and air to breathe. Most butterflies will get their food needs from the nectar found in flowers, which they suck up with their tongues, but some butterflies also drink tea sap.
For their shelter needs, butterflies tend to hide in roosts. These roosts are any kind of plant with a good hiding space such as tall grass, shrubs, underneath leaves and even in caves. Butterflies will also hide underneath human items including fences. The butterflies also must be able to breathe air in order to survive and cannot stay trapped in a place, such as a jar, without any air holes.