Bananas are curved because they grow towards the sun.
Bananas go through a process called "negative geotropism." Instead of growing towards the ground, they start growing towards the sun.
The fruit grows against gravity, which gives the banana its familiar curved shape.