For a number to be composite, it should be broken down into equal parts. Or in other words it should have factors. As long as it has factors it is a composite number.
Because a number is an odd number doesn't mean it doesn't have factors. for example 15 is an odd number and it has factors of 5 and 3.
So 15 is a composite number and an odd number at the same time.