How can i direct a force at a moving object

How can I move an object using a force at another object that is moving.

i was thinking of joint, if i understood you right.

Unity Joint documentation