Make object follow a path?

also take a look at this video this is the kind of result i’m trying to achieve!