Next time you bite into a slice of watermelon or a cob of corn, consider this: these familiar fruits and veggies didn’t always look and taste this way.

Genetically modified foods, or GMOs, inspire strong reactions nowadays, but humans have been tweaking the genetics of our favourite produce for millennia.

While GMOs may involve splicing genes from other organisms (such as bacteria) to give plants desired traits – like resistance to pests, selective breeding is a slower process whereby farmers select and grow crops with those traits over time.

From bananas to eggplant, here are some of the foods that looked totally different before humans first started growing them for food.

This 17th-century painting by Giovanni Stanchi depicts a watermelon that looks strikingly different from modern melons, as Vox points out. A cross-section of the one in the painting, which was made between 1645 and 1672, appears to have swirly shapes embedded in six triangular pie-shaped pieces.

Over time, humans have bred watermelons to have a red, fleshy interior – which is actually the placenta – like the ones seen here. Some people think the watermelon in Stanchi’s painting may just be unripe or unwatered, but the black seeds in the painting suggest that it was, in fact, ripe.

The first bananas may have been cultivated at least 7,000 years ago – and possibly as early as 10,000 years ago – in what is now Papua New Guinea. They were also grown in Southeast Asia. Modern bananas came from two wild varieties, Musa acuminata and Musa balbisiana, which had large, hard seeds, like the ones in this photo.

The hybrid produced the delicious modern banana, with its handy, graspable shape and peelable covering. Compared to its ancestor, the fruit has much smaller seeds, tastes better, and is packed with nutrients.

Throughout their history, eggplants have come in a wide array of shapes and colours, such as white, azure, purple, and yellow – like those shown here. Some of the earliest eggplants were cultivated in China. Primitive versions used to have spines on the place where the plant’s stem connects to the flowers.

The earliest known carrots were grown in the 10th century in Persia and Asia Minor. These were thought to originally be purple or white with a thin, forked root – like those shown here – but they lost their purple pigment and became a yellow colour.

Modern carrot

TTL media/Shutterstock.com

Farmers domesticated these thin, white roots, which had a strong flavor and biennial flower, into these large, tasty orange roots that are an annual winter crop.

Perhaps the most iconic example of selective breeding is North American sweetcorn, which was bred from the barely edible teosinte plant. Natural corn, shown here, was first domesticated in 7,000 BC and was dry like a raw potato, according to this infographic by chemistry teacher James Kennedy.

Today, corn is 1,000 times larger than it was 9,000 years ago and much easier to peel and grow. Also, 6.6 percent of it is made up of sugar, compared with just 1.9 percent in natural corn, according to Kennedy. About half of these changes occurred since the 15th century, when European settlers started cultivating the crop.

Peaches used to be small, cherry-like fruits with little flesh. They were first domesticated around 4,000 B.C. by the ancient Chinese and tasted earthy and slightly salty, “like a lentil”, according to Kennedy.