Food that is about to spoil can be preserved by drying.
The reason is that there is no longer any active, free water that can enable putrefaction processes.
Bananas can be sliced crosswise or lengthwise and then dried. They are airtight, can be kept almost indefinitely and are suitable, for example, as snacks . . .