What is the difference between an embassy and a consulate?

Update: Okay so I had this idea that I would write the international agencies that deal with foriegn policy for other soveriegn entities worldwide and goad them into conflicts with other nations. So I kind of need that information.
2 answers