I know some properties cannot be defined with the real number system such as supremum of an unbounded set. but I want to know the philosophy behind this construction (extended real number system ($\mathbb R \cup\{+\infty,-\infty\} $) and projectively extended real number system ($\mathbb R \cup\{\infty\}$)) and why did mathematician want to do so? what are the beautiful properties they achieved? I want an answer with a philosophical point of view.
P.S. is there any books or notes or something which I can refer?
I forgot this when writing my comments to the question, but one reason is compactness.
For example, using the extended reals, the Extreme Value Theorem, "A continuous function on a compact interval is bounded", has the following corollary: "A continuous function on $\Bbb R$ with $\lim_{x\to\infty}f(x)$ and $\lim_{x\to-\infty}f(x)$ defined is bounded". Without the extended reals, we'd have to prove it separately.