Bulbs are stems and the layers are leaves?

Is this fundamentally so? I don’t understand this assertion. Is it actually true? Are the leaves of an onion bulb made of leaf-type cells? What’s the straight dope on this?