Some important factors that have to be considered at any…