Is the word "unit" used in the same way in the following two sentences?

A unit of wheat is a bushel.

The word is a basic linguistic unit.
different meanings