Tort law focuses on damages subject to a contract and outside-contract damages.
Different contracts often include a clause for damages, or then a contractual penalty or a compensation clause may be included in the general terms of the contract. A legal expert can assist in drafting those type of terms and conditions and clarify possible misunderstandings.
Outside contract damages may come into question when there is no contract between the parties, but the other party suffers harm due to deliberate action or negligence. Although in principle a full compensation should be awarded, it may be difficult to assess what an adequate compensation should be. With the help of a professional the right level of compensation can be found.