There's a well-worn saying in the culinary world -- "Cooking is an art, baking is a science." That isn't to say that cooking doesn't involve a fair amount of science ...
There are innumerable types of cake in the world. So many, in fact, that whole tomes have been written on the many different cakes of France alone (start with Gâteau by Aleksandra Crapanzano).