Purposes of cleanliness include health, beauty, absence of offensive odor, avoidance of shame, and to avoid the spreading of dirt and contaminants to oneself and others.
Being clean is important because of health, beauty, odor, avoiding shame, and avoiding spreading dirt.