What is the Object of a Preposition?

The object of a preposition is a noun to which the subject has a relationship with or to. For example, in the sentence ‘The dog hated his leash,’ dog is the subject, and leash is the object. The preposition itself is hated. For more information, look here: