The iPhone was a small battery powered box you can hold in your hand and it could play music, just like the iPod, but at the time the iPhone debuted, that's about where the similarities ended.
Also, because of its price ($500 plus a two-year contract) the iPhone targeted a different audience.