Corporate law deals with the formation and operations of corporations and is related to commercial and contract law.