Why is ascertaining and paying stamp duty necessary ?

According to The Maharashtra Stamp act 1958 and various Judicial Decisions, payment of Stamp Duty is mandatory on the documents or Deeds.