Planets
We measure their light and find it matches sunlight bouncing off them.
Stars make light. Planets do not.