* Planets within our solar system: The distances between planets are relatively small, even though they seem vast to us. Kilometers (or sometimes Astronomical Units, AU) are practical units for measuring these distances.
* For example, the distance to Mars can be measured in millions of kilometers.
* Stars outside our solar system: Stars are incredibly far away. Using kilometers to describe these distances would result in extremely large and unwieldy numbers. Light years, which measure the distance light travels in a year (about 9.46 trillion kilometers), are a more manageable unit for these vast interstellar distances.
* For example, the nearest star to our Sun, Proxima Centauri, is 4.24 light-years away.
Think of it like this:
* You wouldn't measure the distance to the grocery store in miles if it's just a block away, right? Kilometers are like that for planets.
* You wouldn't measure the distance to another city in inches, would you? Light years are like miles for stars.