Nail fungus, also medically known as onychomycosis, is a chronic fungal infection of the fingernails and/or toenails.