You don’t need the root (the bassist has it). You don’t need the 5th (it adds no harmonic information). With just two notes, you define the quality of the chord.
Harmonic Foundations: Jazz Piano Voicings for the Non-Pianist I. Introduction: The Piano as a Tool, Not a Target Jazz Piano Voicings For The Non-pianist Pdf
Knowing how to "voice" a chord ensures your arrangements sound professional rather than cluttered. Essential Voicing Types for Beginners You don’t need the root (the bassist has it)