The next section is an extract of Section 1.1.a from the book
Introduction to
CALCULUS AND ANALYSIS
Volume One
Richard Courant and Fritz John
PDF Link found here.
In the last section I add some comments.
a. The System of Natural Numbers and Its Extension.
Counting and Measuring
The Natural and the Rational Numbers. The sequence of "natural"
numbers I, 2, 3, . . . is considered as given to us. We need not discuss
how these abstract entities, the numbers, may be categorized from a
philosophical point of view. For the mathematician, and for anybody
working with numbers, it is important merely to know the rules or laws
by which they may be combined to yield other natural numbers. These
laws form the basis of the familiar rules for adding and multiplying
numbers in the decimal system ; they include the commutative laws
a + b = b + a and ab = ba, the associative laws a + (b + c) =
(a + b) + c and a(bc) = (ab)c, the distributive law a(b + c) = ab + ac,
the cancellation law that a + c = b + c implies a = b, etc.
The inverse operations, subtraction and division, are not always
possible within the set of natural numbers ; we cannot subtract $2$
from $1$ or divide $1$ by $2$ and stay within that set. To make these
operations possible without restriction we are forced to extend the
concept of number by inventing the number $0$, the "negative" integers,
and the fractions. The totality of all these numbers is called the class or
set of rational numbers; they are all obtained from unity by using the
"rational operations" of calculation, namely, addition, subtraction,
multiplication, and division.
A rational number can always be written in the form
$\quad \frac{p}{q}$,
where $p$ and $q$ are integers and $q \ne 0$. We can make this representation unique
by requiring that $q$ is positive and that $p$ and $q$ have no common factor
larger than $1$.
Within the domain of rational numbers all the rational operations,
addition, multiplication, subtraction, and division (except division by
zero), can be performed and produce again rational numbers. As we
know from elementary arithmetic, operations with rational numbers
obey the same laws as operations with natural numbers: thus the
rational numbers extend the system of positive integers in a completely straightforward way.
Note: The word "rational" here does not mean reasonable or logical but is derived from
the word "ratio" meaning the relative proportion of two magnitudes.
The book views the rational numbers in a philosophical manner, and doesn't obsess about a rigorous mathematician construction. After all, they are just 'one-step' removed from the natural numbers, a 'given'.
Geometrically, the rational numbers are all the numbers that are obtained in a straightforward way when we insist on 'marking off' all the numbers 'obtained from unity' on the real numbers line, viewed as a ruler extending to the left for the negative numbers and to the right for the positive numbers.
We start with the natural numbers (integers), but if we insist that we have a number $\frac{1}{2}$, then we'll also have to mark off the positive numbers $\frac{1}{2}$, $\;1 \frac{1}{2}$,$\;2 \frac{1}{2}$,$\;3 \frac{1}{2}$, etc.,

Want $\frac{1}{3}$? OK, then throw in $\frac{2}{3}$, $\;1 \frac{1}{3}$,$\;1 \frac{2}{3}$,$\;2 \frac{1}{3}$, etc. (also -try to find a good color scheme so you can keep reading the numbers).
Want $\frac{1}{4}$? OK, then throw in $\frac{1}{4}$, $\; \frac{2}{4}$, -Oops!!!
Be careful - you already have $\frac{1}{2}$, so you don't need another tick mark.
OK, just add in all those numbers (picture it in your head) and you are in business (well almost, you missed $\sqrt 2$, but that is another story).

Note: When positioning a (rational) number on the 'ruler', try representing it as a mixed number, as we did above.