Similarities Between Planets and Stars