In a nutshell, direct objects answer whom or what after the verb.
Examples of direct objects (boldfaced):
I hit him.
Logan did his homework.
Indirect objects tell to or for whom or what after the vert.
Examples of indirect objects (italicized):
We gave her our opinions.
Please tell the teacher the answer.
For more information, study these sites.
aahh i see thanks alot