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

A section of a fishing rod.

She got a job in the historical section of the Treasury.
different meanings