The Republic of Ireland is in the British Isles
Northern Ireland is the United Kingdom.
Great Britain only consists of England, Scotland and Wales.
The phrase to remember is: 'The United Kingdom of Great Britain and Northern Ireland'. It helps.