when a business fails and goes bankrupt there is a pecking order among various stakeholders in who gets repaid for their capital investment 
secured creditors are first in line to be repaid they are followed by unsecured creditors preferred shareholders and finally owners of common stock who may receive pennies on the dollar if anything as this example illustrates not all stakeholders have the same status or privileges workers in a bankrupt company can be laid off without any severance 