A ligament is a fibrous band or cord that connects two bones to each other, providing stability and support.