There are 3 types of objects are there in the English language these are-
Direct Object- The direct object of a verb is the thing being acted upon (i.e., the receiver of the action). Eg- Play the guitar.
Indirect Object- The indirect object of a sentence is the recipient of the direct object. The direct object is the thing being acted on by the verb. Eg- Paula passed her father the parcel.
Object of a Preposition- The object of a preposition is the noun or pronoun governed by a preposition. The object of a preposition is usually (but not always) the noun or pronoun to the right of the preposition. Eg- in silence.