how does the European Central Bank set monetary policy?

there are 27 member countries in the European Union and they all use the same Euro currency. what i’d like to know is how does the central bank set a single monetary policy/interest rate for 27 different countries? surely they’d all have different economic climates and objectives right?