How can i make an object orbit.

Just found out about the site today, still trying to figure stuff out. I can’t seem to figure out how to make an object orbit around another one so if anyone knows I’d appreciate some help

Here’s an example of how make an object the center of gravity