corkit butterflies usually suck nectar or honey flower but there are some types who like to the liquid in the suction like from rotten fruit that has fallen to the ground, carcasses, bird droppings and wet soil, while at the time of being a caterpillar, caterpillars only eat leaves, foliage.
butterflies are distinguished from moths aka night butterflies based on their active time and physical characteristics. Butterflies are generally active during the day (diurnal), while moths are mostly active at night