The phrase "You are the salt of my life" is an example of a metaphor. It is a figure of speech that compares two things without using "like" or "as". In this case, the speaker is not literally saying that the person is salt, but using salt as a symbol to represent their importance or value in their life.