Cotter joints are specifically designed to connect rods subjected to axial tensile or compressive loads. The cotter provides a wedging action that prevents separation while allowing slight axial movement to accommodate thermal expansion or contraction, making it ideal for both load types.