A vice can refer to a flaw, a negative personality feature, a defect, an illness, or a harmful or unhealthy habit.