The number 6 can be evenly divided by 1 2 3 and 6, with no remainder.
Since 6 cannot be divided by just 1 and 6, it is a composite number.