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