The most interesting thing I've learned about nails is that they're now thought to be part of an organ — the enthesis organ [1], which is the tissue structures around the site where the tendon attaches to the bone. This is relevant to spondylarthropathies, some of which show up as nail changes many years before enthesitis occurs.
[1] https://www.enthesis.info/anatomy/enthesis_organ.html