Light travels at an extremely fast speed. So using "lightyears" means how fast and far light can go in an entire year (a whole lot). So it's a very very large scale of distance considering how fast light travels. Overall, it's mainly used because the distance is so great that measuring in miles or kilometers is not reliable or as sufficient as lightyears