What do inner and outer planets have in common?