The toenail rests on the nail bed. This is a soft layer of cells under the hard nail.