Robert lives in an apartment.
Robert is a noun and subject in this sentence,lives is verb,in is preposition,apartment is noun and object in this sentence.
He loves his job.
He is subject,loves is verb,his is possessive adjective and job is
His wife teaches college courses.
His wife is subject, teaches is verb and college courses is object in this sentence.