Comparing similarities in preferred stock, long-term debt and common stock

In what ways is preferred stock like long-term debt? In what ways is it like common stock?