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