The adult butterfly’s primary instinctive behavior in life is to search for a mate of the same species and produce viable offspring to carry on their genes. This includes making sure the eggs are laid on the correct host plant. Some butterflies lay their eggs in groups, while others lay them singly because the first instar caterpillars can be cannibalistic and will eat the other eggs. have a nice day bro