How to get all the connected parts from one part?

How would I get the connected parts from one ???

Look at this, maybe it will help you.
https://developer.roblox.com/en-us/api-reference/function/BasePart/GetConnectedParts