When are similes and metaphors used?

1 they are used to show a feeling
2 they are used to show a comparison
3 they are used to show a exaggeration
4 They are used to show human qualities

All of the options provided are correct. Similes and metaphors are used to show a feeling, make a comparison, emphasize exaggeration, and depict human qualities.