The nectary is a specialized structure found in flowers that produces nectar, a sugary substance that attracts pollinators such as bees and butterflies. Nectar serves as a reward for the pollinators and aids in the transfer of pollen between flowers, promoting successful reproduction.