$3.1.1$ Definition A sequence of real numbers (or a sequence in $ \mathbb R$.) is a function defined on the set $ \mathbb N$ = { $1 , 2, . . .$ } of natural numbers whose range is contained in the set $ \mathbb R$ of real numbers.
This definition is from the book of 'Introduction to real analysis', and I'm kinda confused about this definition. If it's a function from $ \mathbb N$ to $ \mathbb R$, then the terms of the sequence should be infintely many($a_1,a_2,a_3...$), since $\mathbb N$ has infinitely many numbers of elements. My questions are: Is this a definition of infinite sequence? If yes,why does this book just define a sequence as an infinite one? Thank you!