Eczema primarily affects the skin, but it can also have secondary effects on mental health, causing emotional distress, anxiety, and sleep disturbances. In rare cases, it may affect the eyes, causing eyelid eczema or other ocular complications.