Is metoprolol and spironolactone the same thing?

No they are not the same.

Metoprolol is a drug known as a beta blocker and is usually used for patients suffering from cardiovascular disease, eg. given to reduce the risk of heart attacks, and to those suffering with angina or hypertension.

Spironolactone is a drug given to patients with edema or water retention, hyperaldosteronism (when the body makes too much aldesterone a naturally occurring hormone in the body)