The completion certificate is issued to the builder/developer when the project has been completed per the approved sanctioned plan.
The occupancy certificate (OC) is granted upon issuance of the completion certificate.
A builder can only give possession of a flat to a buyer once the OC has been granted.