This question has options. Does the word "mechanism" have the same definition in the next two sentences?

The mechanism of the ear.

The mechanism of infection.

Options:
 -- different meanings
 -- the same meaning
the same meaning