" Cubic foot " is a unit of volume or capacity, as of a box, a bottle, or a balloon.
" Yard " is a unit of length or distance, as of a finger, a piece of rope, or a trip to the moon.
The two units have different 'dimensions' and are used to measure different quantities.
Neither of them can be converted into the other one.