Just to clarify what marlonjohn is saying, you're parenting the geometry to the bones, instead of skinning. The other way of doing this if you don't want to change the hierarchy is to use a parent constraint, which simulates parenting.