Possible Duplicate:
Different kinds of infinities?
Today I got to know that two infinity can be compared, But I want to know how is this possible? infinity will be infinity. If it doesn't have any particular value, how can we say that this infinity is small and other one is greater. Can anyone help me?
The question about several types of infinity has come up several times before. As linked to in the comments about, you can read through the question and answer given in What Does it Really Mean to Have Different Kinds of Infinities? or Are all infinities equal?.
You ask about if you can compare infinities. Well, you might say that you can. IF you take for example the natural numbers $1,2,3,...$, then there are an infinite number of them. We say that the set is infinite. But, you can also count them. If we look at the real numbers, then the fact is that you cannot count these. So in a way, the infinite number of real number is "greater" than the infinite number of natural numbers.
But all this comes down to the question about how you measure the size of something. If someone says that something is bigger than something else, then they should always be able to define exactly what that means. We don't (I don't) like when questions become philosophical, then it has (In my opinion) left the realm of mathematics. So if someone tells you that one infinity is greater than another infinity, ask them exactly what they mean. How do you measure sizes of infinities? If they are a mathematician, they will be able to give you a precise definition (study Andre's answer).
But, what we usually think about when we compare numbers (or elements in a set) is a set with some kind of ordering on. Without going into any detail, there are different types or orderings, but you can think about how we can order the set consisting of the real numbers in the usual way (ex $7 > 3$). But in this example we are just talking about the real numbers. And infinity is not a number.
One more thing to keep in mind is that we will some times write that a limit is equal to infinity. Like $$\lim_{x \to a} f(x) = \infty. $$
However, when we write this, we don't think (I don't) of $\infty$ as an element in the set of real numbers (it isn't). All we mean by writing that the limit is infinity is that the values of $f(x)$ become arbitrarily large as $x$ "gets" close to $a$.
Just a few things.