For example:
* Gamma Cassiopeiae is a star in the constellation Cassiopeia.
* Gamma Centauri is a star in the constellation Centaurus.
To determine the distance to a star, you need to specify the full name of the star (e.g., Gamma Cassiopeiae).
Once you know the specific star, you can use online resources like:
* SIMBAD Astronomical Database: [https://simbad.u-strasbg.fr/simbad/](https://simbad.u-strasbg.fr/simbad/)
* The Extrasolar Planets Encyclopaedia: [https://exoplanetarchive.ipac.caltech.edu/](https://exoplanetarchive.ipac.caltech.edu/)
These databases provide information about stars, including their distances from Earth.