You can actually promote a pawn to any other piece as well (rook, bishop, knight, etc.), this is known as underpromotion. It's mostly a "why would you ever do that?" thing, though.
It makes a lot more sense in the earlier versions of chess. The queen used to be the "Vizier". The sultan made the decisions, the Vizier ran around and implemented them.