Eggplant (Solanum melongena), or aubergine, is a species of nightshade grown for its edible fruit. Eggplant is the common name in North America and Australia, but British English uses the French word aubergine. It is known in South Asia, Southeast Asia, and South Africa as brinjal.

The fruit is widely used in cooking. As a member of the genus Solanum, it is related to the tomato and the potato. It was originally domesticated from the wild nightshade species, the thorn or bitter apple, S. incanum, probably with two independent domestications, one in South Asia and one in East Asia.

The eggplant is a delicate, tropical perennial often cultivated as a tender or half-hardy annual in temperate climates. The stem is often spiny. The flower is white to purple, with a five-lobed corolla and yellow stamens. The egg-shaped, glossy, purple fruit has white flesh with a meaty texture. The cut surface of the flesh rapidly turns brown when the fruit is cut open.

It grows 40 to 150 cm (1.3 to 4.9 ft) tall, with large, coarsely lobed leaves that are 10 to 20 cm (3.9 to 7.9 in) long and 5 to 10 cm (2.0 to 3.9 in) broad. Semiwild types can grow much larger, to 225 cm (7.38 ft) with large leaves over 30 cm (12 in) long and 15 cm (5.9 in) broad. On wild plants, the fruit is less than 3 cm (1.2 in) in diameter, but much larger in cultivated forms: 30 cm (12 in) or more in length.

Botanically classified as a berry, the fruit contains numerous small, soft seeds that, though edible, taste bitter because they contain nicotinoid alkaloids like the related tobacco.

The plant species originated in cultivation. It has been cultivated in southern and eastern Asia since prehistory. The first known written record of the plant is found in Qimin Yaoshu , an ancient Chinese agricultural treatise completed in 544. The numerous Arabic and North African names for it, along with the lack of the ancient Greek and Roman names, indicate it was introduced throughout the Mediterranean area by the Arabs in the early Middle Ages. A book on agriculture by Ibn Al-Awwam in 12th-century Arabic Spain described how to grow aubergines. Records exist from later medieval Catalan and Spanish.

The aubergine is unrecorded in England until the 16th century. An English botany book in 1597 stated:

This plant groweth in Egypt almost everywhere… bringing forth fruit of the bigness of a great cucumber…. We have had the same in our London gardens, where it hath borne flowers, but the winter approaching before the time of ripening, it perished: nothwithstanding it came to bear fruit of the bigness of a goose egg one extraordinary temperate year… but never to the full ripeness.[10]

Because of the plant’s relationship with other nightshades, the fruit was at one time believed to be extremely poisonous. The flowers and leaves can be poisonous if consumed in large quantities due to the presence of solanine.[11]

The eggplant has a special place in folklore. In 13th-century Italian traditional folklore, the eggplant can cause insanity.[12] In 19th-century Egypt, insanity was said to be “more common and more violent” when the eggplant is in season in the summer.[13]