"An object is a noun or its equivalent towards which the action of the verb is directed" (A.S.Hornby). For example,
Send this file to me.
" file" is a direct object, "me" is an indirect object.
Objects do not always occupy the 2nd place in sentences.
Student or Learner