01 - Preheat oven to 350°F. Grease and flour a 9-inch round or square cake pan.
02 - In a large mixing bowl, beat the mashed bananas, oil, sugar, eggs, and vanilla extract together until smooth and well blended.
03 - In a separate bowl, whisk together the flour, baking soda, baking powder, salt, and cinnamon if using.
04 - Gradually fold the dry ingredient mixture into the wet ingredients until just combined. Be careful not to overmix the batter.
05 - Gently stir in chopped nuts or chocolate chips if desired, distributing them evenly throughout the batter.
06 - Pour the batter into the prepared cake pan and smooth the surface with a spatula to ensure even baking.
07 - Bake for 35 to 40 minutes, or until a toothpick inserted into the center of the cake comes out clean.
08 - Allow the cake to cool in the pan for 10 minutes, then transfer it to a wire rack to cool completely before serving.