Designed to keep workers safe and to make sure that they are treated fairly, although laws are in place to protect employers’ interests as well.