I found these quite a difficult concept to get my head around, but Nulls can make working with multiple shapes and properties rather easier.
Related resources to this post are in the box below:
What’s a Null?
A Null is an utility layer that does not visibly appear in your render, but they can manipulate other things. For example if you want two layers to scale together, linking them together with a scaling null can simplify your workflow.
Scale shapes with a Null
As a basic example, let’s use a Null to manipulate multiple layers at the same time.
Draw two shapes in your composition, and place them apart. Press Cmd/Ctrl+. and search for ‘null’ in the window that appears. Now double-click to add a new Null layer to the scene.
Next, we need to make the Null the parent of our two shape layers. Go to the layer stack, select the two shape layers and drag them both over the Null layer. You will know this has worked if you see that the child layers have names which are indented compared the parent.

Here you can see the indented layer names of the child layers.
As an example, you can now go to Null > Position and edit the values here to make the Null move around — and the shapes with it.
Create a path with nulls
In this video by the Cavalry Team Nulls are used to impose the node points of a line, and can then have their position animated.
Press Cmd/Ctrl+Shift+= to add a Null layer to your composition. We want four for this animation. Now manually arrange them across the scene, something like this.

Four nulls arranged across the scene.
Press Cmd/Ctrl+. and search for Points to Curve. Double-click to add this layer to the stack. Open that and all the nulls in the attribute editor. We need to connect the Position property of each null to a node in Points to Curve > Shape > Point Source (ensure you have four sources!).

Connecting null positions with point sources.

The path created by the nulls.
Now the path nodes are tied to the nulls. You can animate the line by moving the nulls around:
Animated line nodes.
You can close the path if you wish, to get a complete shape:
Closing the path.
And can turn off Bézier curves for straight lines:
A version in straight lines.
—
Made with heavy reference to Create a Path Using Nulls in Cavalry by the Cavalry Team




