Nectar is a sugar-rich liqui produced by plants. It is produced either by the flowers, in which it attracts pollinating animals or by extrafloral nectaries, which provide a nutrient source to animal mutualists providing anti-herbivore protection. It is produced in glands called nectaries.