A rational number is a number that can be written as a ratio. That means it can be written as a fraction, in which both the numerator (the number on top) and the denominator (the number on the bottom) are whole numbers.
and, A irrational number can be written as a decimal, but not as a fraction.
An irrational number has endless non-repeating digits to the right of the decimal point.