Grease a spring form pan or 9inch round cake pan with non-stick spray and line it with parchment paper.
In a medium bowl, add the dry ingredients - flour, baking powder, baking soda, salt. Mix them well with a whisk and set aside.
In the bowl of a food processor fitted with a whisk, add eggs and sugar. Whisk them on high until they are combined and turn foamy and light in color (approximately 2 minutes). Add oil,milk and vanilla essence to the bowl and continue to whisk them till they are well combined.
Reduce the speed to low and add the flour mixture one tablespoon at a time until all the flour mixture has been added. Stop the food processor, scrape as needed and whisk them again on low speed till it is well combined.
Split the batter into two by pouring half of the batter (about 3 cups) into a different bowl.
Melt the chocolate chips (if using) in a microwave by heating it for 30 seconds; mixing it and heating it again for 15 seconds till the chips have all dissolved into a gooey chocolate mixture.
Add the chocolate mixture and cocoa powder to one half of the batter and mix them till they are well combined.
You will need two spoons that can hold around 1/4 cup batter. Always remember to scrape the spoon before adding the batter to the pan.
Add a spoonful of chocolate batter at the center of the baking pan. You don't have to wait till it spreads. Immediately after, add the plain batter on top of the chocolate batter. The batter will spread on its own. Add the chocolate batter again in the center of the pan followed by plain batter. Repeat this process until the batters run out, always making sure that you add the batter in the center of the pan.
Bake for 50-60 minutes until a toothpick inserted into the center comes out clean.
Remove the cake from the oven and let it cool for 10-15 minutes on a cooling rack before inverting the cake onto a plate. Remove the parchment paper and invert it back.