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