Pseudonectaries, or false nectaries, the glistening structures that resemble nectaries or nectar droplets but do not secrete nectar, show considerable diversity and play important roles in plant-animal interactions. The morphological nature, optical features, molecular underpinnings and ecological functions of pseudonectaries, however, remain largely unclear. Here, we show that pseudonectaries of Nigella damascena (Ranunculaceae) are tiny, regional protrusions covered by tightly arranged, non-secretory polygonal epidermal cells with flat, smooth and reflective surface, and are clearly visible even under ultraviolet light and bee vision. We also show that genes associated with cell division, chloroplast development and wax formation are preferably expressed in pseudonectaries. Specifically, NidaYABBY5, an abaxial gene with ectopic expression in pseudonectaries, is indispensable for pseudonectary development: knockdown of it led to complete losses of pseudonectaries. Notably, when flowers without pseudonectaries were arrayed beside those with pseudonectaries, clear differences were observed in the visiting frequency, probing time and visiting behavior of pollinators (i.e., honey bees), suggesting that pseudonectaries serve as both visual attractants and nectar guides.