Hello Sreeram,
Anayaat & Mahesh have given the details, which should clear your doubts by now.
Not sure which country you are located in.
NOC is the term used in the Public Sector/Govt in India while the Private sector uses the term Relieving Certificate--the purpose & content, by & large, being the same [though the wordings may differ].
Rgds,
TS