In music theory, counterpoint is the relationship of two or more simultaneous musical lines that are harmonically interdependent yet independent in rhythm and melodic contour.