The picture shows pus (yellow) and the inflammation caused by it (reddening and swelling around the nail).
Source: Marc CAT