Rational numbers are the numbers that can be put in the form of the fraction
Ex:
Irrational numbers are the numbers cannot be put in the form of the fraction
Ex:
Let us check the question
4 can be written in the form of the fraction, so it is a rational number