Direct octaves occur in music when two voices or parts move in the same direction to form an octave, often considered a fault in voice leading due to the resulting emphasis on the octave. This technique is generally avoided in classical composition to maintain independence between voices, though it can be used intentionally for dramatic effect in certain contexts.