A hangnail is when the skin near the nails hangs off a bit causing pain or discomfort. An ingrown nail occurs when the corner or edge of a nail grows inside the skin instead of growing out.