How to map network drive on Ubuntu 9.04/9.10

This tutorial expalins how to map a network drive in ubuntu 9.04/9.10.This is very useful if you are trying to map your windows machine/another linux machine drive on to your system.