The best answer is D: shoe is to foot.
The relationship between "pretty" and "beautiful" is that they are both adjectives related to aesthetics, with "pretty" being a less intense version of "beautiful." Similarly, a "shoe" is something that is worn on a "foot," which can be seen as a more specific aspect of the broader category.
The other options don't have a similar relationship in terms of intensity or category.