INS/IRS is use a gyro laws for navigation (and attitude and other stuff when using IRS). It works on the prinsible of acceleration in any direction. One tells it where it is, in Lat. and Long. and it measures evey acceleration of the aircraft, and as a function of time and heading can tell one where the aircraft is in lat and long.
Hope it helps