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