Workplace harassment is against the law in many situations because employees have the legal right…