What am I?

By Moon or by Sun, I shall be found. Yet, if there's no light around, I am undone. What am I?