You assign vertices to the vertex group so that the bones can have influence on them. So if you have a cube with 20 vertices and you assign 5 vertices to the vertex group, the bone will move those 5 vertices but the other 15 wont do anything because they are not assigned.