Law is defined as the body of rules of conduct or action that have been prescribed by the controlling authority…