In the following sentence can you tell me what is the direct object?

On it, there are chickens and cows, I don't raise sheep.
my answer is raise is that correct?

No. Raise shows action -- it tells what someone is doing. It is a verb.

A direct object receives the action of the verb. It answers "who" or "what" after the verb.

Try again.

In the sentence, "On it, there are chickens and cows, I don't raise sheep," the direct object is the noun or noun phrase that directly receives the action of the verb. The verb in this sentence is "raise."

To identify the direct object, you need to ask yourself: What is being raised? If you apply this question to the sentence, you will find that the word "sheep" is the correct direct object, as it answers the question "What is being raised?"

Therefore, your answer is correct. The direct object in this sentence is "sheep."