Question: Here is one sentence: The machinery is out of order.
Here is another sentence: IBM received an order for a hundred computers.
Does the order mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Detach a regiment.
Here is another sentence: His retina detached and he had to be rushed into surgery.
Does the detach mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: I understand what she means.
Here is another sentence: I understand wanting more.
Does the understand mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: Crime doesn't pay.
Here is another sentence: It pays to go through the trouble.
Does the pay mean the same thing in the two sentences?

Answer:
the same meaning