Nautical miles measure distance. 1 nautical mile is the angular distance of 1 minute of arc on the earth's surface. As these differ slightly (6108' at pole c.f. 6046' at equator) 6080 was adopted (this being it's approximate value in the English Channel). The International nautical mile is 1852 metres, so is very slightly different from the UK nautical mile.
A lightyear is the distance that light travels in one year. Since there are various definitions for the length of a year, there are correspondingly slightly different values for a lightyear. One lightyear corresponds to about 9.461e15 m, 5.879e12 mi, or 63239.7 AU, or 0.3066 pc.