Is infinity an element of the real numbers?

I know that infinity is a concept that denotes larger and larger numbers on the real line, but I was given a definition of a limit as being a finite element of the real numbers but now I have seen examples where the limit of a function has turned out to be infinity. So does this mean that infinity is an element of the reals or is the definition that I was given completely wrong?