how they are differ from one another ?and what is used of it..?
See here: http://www.techsutram.com/2009/03/differences-ipv4-vs-ipv6.html