The process of reinstalling XP over the top of itself creates the multi-boot menu and structure.
Reinstalling 98 over the top of itself reapirs any potential problems which may arise because drive letters have changed. These two Windows versions treat drive letters in different ways.