Preheat your oven to 350°F (175°C). Grease and flour a 9×5 inch loaf pan.
In a large mixing bowl, whisk together the mashed bananas, grated carrots, vegetable oil, granulated sugar, brown sugar, eggs, and vanilla extract until well combined.
In a separate bowl, combine the all-purpose flour, baking soda, baking powder, salt, ground cinnamon, ground nutmeg, and ground ginger.
Gradually add the dry ingredients to the wet ingredients, stirring just until combined.
If using, fold in the chopped walnuts or pecans and raisins.
Pour the batter into the prepared loaf pan, spreading it out evenly with a spatula.
Bake for 60-70 minutes, or until a toothpick inserted into the center comes out clean.
Allow the bread to cool in the pan for about 10 minutes before transferring it to a cooling rack to cool completely.