Hello Fahad,
you could actually connect computers through the parallel ports, but there is a very limited maximum distance for that type of connection (+/- 5 meters). So the main reason for using serial connections is the distance. Is this a multiple choice question ?
Regards,
GP