Ireland (or Eire) is an independent sovereign state, as opposed to Northern Ireland (also known as Ulster), which is a constituent country of the United Kingdom, along with England, Scotland, and Wales.
Ireland is not a member of the Schengen Agreement, so a Schengen visa or residence permit will not allow you to visit Ireland without a visa. A valid UK visa does not entitle you to travel to Ireland without a visa unless you qualify for the short stay visa waiver program.