The central bank has to supervise the functioning of commercial banks so as to protect the interest of the depositors and ensure development of banking on sound lines.
The business of banking is a public service necessitating legislative safeguards to prevent bank failures.
Thus the Central bank works with a service motive an not for profit making.