Some battery powered gadgets require 2 AA batteries, some 4 AA batteries, and some require AAA batteries instead. How do they determine what type of battery is required and how much voltage is required? Why are there AA, AAA, C, and D batteries, but no B batteries?