You can create a compound path from two or more open or closed paths. When you create a compound path, all of the originally selected paths become subpaths of the new compound path. The selected paths inherit the stroke and fill settings of the object farthest back in the stacking order.
You can change the shape
of any part of a compound path by using the Direct Selection tool to
select an anchor point on one subpath.