What am I?

I give light by night, but not by day. I am wicked but not evil in any way. Wax for the most but always wane; except when I'm out, I stay the same. What am I?