Frigate vs destroyer: What is the difference between the two warships?

US Navy Zumwalt
The US Navy Zumwalt-class destroyer DDG 1000. Credit: US Navy.