Illustrator is vector based. Photoshop is bitmap based.
Illustrator is perfect for logo's, icons, printed material because it can be scaled larger or smaller without loss of quality.
Photoshop is perfect for computer images, photo manipulations and computer content. It's also fine for icons too but some prefer Illustrator.
I just wanted to post it so that people knew why too without a demonstration