The nail matrix is the hidden part of the nail that lies beneath the skin at the base of the nail. It is the living, germinal tissue that produces the nail plate, which is the visible part of the nail that grows outward from the base of the finger or toe.