For example , research suggests that the function of anger is to correct injustice , the function of sadness is to disengage from an unattainable goal , the function of embarrassment is to appease others .
The function of fear is to avoid danger .
For example , research suggests that the function of anger is to correct injustice , the function of sadness is to disengage from an unattainable goal , the function of embarrassment is to appease others , and the function of fear is to avoid danger .