Ezekiel was a prophet to the Israelites who were captives to Babylon. He was a contemporary of Jeremiah, who was a prophet to the people left behind in Jerusalem.
When Ezekiel was taken into captivity, the Babylonians had not yet destroyed Jerusalem. His early prophesies related to the imminent fall of Jerusalem and the horrors of the sieges that would lead to it. His visions made clear that the destruction of Jerusalem was a judgment on the immorality of the people, especially the variety of idol worship they practiced even in the temple.
Nebachudnezzar, the Babylonian emperor, extend his reach far beyond Israel and Judah. Ezekiel warned that other nations would fall to Babylon. Some of these were comparatively weak such as Ammon, Moab, Edom and Philistia. Others were powerful: Tyre and Egypt.
Ezekiel also saw that the captivity had a limit. The Israelite would return to their homeland. In particular, God was preserving and protecting those who were faithful to Him.
If you’re interested in this book, you may also be interested it