1/3 - RATIONAL OR IRRATIONAL??

help i'm confused! 1/3 is a repeating decimal which i've been told is one of the ways to identify a number as irrational, but i know the definition of a rational number is a number that can be expressed as the ratio of two integers... well 1 and 3 are both integers.

i know there's other stipulations tho, like they cant both be divisible by the same prime, but that would be 1 and that would be true for any fraction of two decimals. so i'm a bit confused as to which 1/3 is. thanks for any help