"Capacious" means "having a lot of space for holding things." The word "capacity" itself means "the maximum amount that something can contain."
While "capacity" is not directly derived from "capacious," it's closely related to it and shares the same root.