Zechariah, along with Haggai, was a prophet to the Israelites who were returning from the Babylonian captivity. This group was authorized to rebuild the Temple but not to fortify Jerusalem.
His prophecies range from the purely local to encourage the returnees to the End Times.