How to make a part rotate around another part using constraints?

I have been playing around with linear and angular velocities, but haven’t figured out a way on how to make a part rotate around another part, any suggestions? Thanks.

Yes try a Hinge Constraint:

https://developer.roblox.com/en-us/api-reference/class/HingeConstraint