Does word "unit" have the same meaning in the following two sentences?

The team is a unit.

A unit of wheat is a bushel.
different meanings