What is “due diligence” (legal) when buying property?

What is “due diligence” (legal) when buying property?

The process of investigating a property before purchase to identify any legal issues, risks, or encumbrances. This includes reviewing the contract of sale, title search, planning certificates, and strata reports (if applicable).