They are different terms for structural elements of an organization. It depends on the situation, but commercial companies can have a few divisions composed of many departments. However, in the US government, we have the Department of Defense, the Department of Education, the Department of the Treasury and so on.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.