The practical function of clothing is to protect the human body from dangers in the environment: weather (strong sunlight, extreme heat or cold, and precipitation, for example), insects, noxious chemicals, weapons, and contact with abrasive substances, and other hazards.