The chordae tendinae are attached to the underside of the tricuspid (right side of the heart
between the right atrium and right ventricle) and the mitral valve
(left side of the heart between the left atrium and left ventricle).
The attach much the same way that the chords of a parachute attach to the chute. The transmit the forces to pull open the valve and align it to close properly.