It varies from country to country. Every country has a central bank that is the bank for other banks in the country. Ex: Federal reserve system - USA Reserve Bank - India etc
its basically a commercial banks but is now engaged in operations in bangladeh and is forming joint operations with Maybank so it is also a foreign bank in terms of ventures but not operations