To examine and ensure quality.
The dentist will inspect Mary's teeth.
This word comes from the Latin word inspectare "to look into". Why do you think it is related to "spectator"?