A female butterfly lands on different plants, wiggling its leaves with its feet to make the plant release its "juice". The tissue behind the legs has chemoreceptors that detect suitable plant chemical pairs.
A butterfly will also step on its food, using an organ that can feel the sugar dissolves to taste food sources such as ripe fruit.