Why do objects in space shine?

I'm not real sure but I THINK that the objects in the solar system such as "the earth's moon" gives off light reflected from the sun to the moon,same thing goes for other objects and planets....i study outer space a lot so i know this stuff very well :D