An ulcer is a skin defect affecting all skin layers down to the dermis or deeper, or all layers of mucosal walls. In dermatology, it belongs to the secondary skin lesions.Source: Albertinen-Atlas