The use of salt back in the time this was written was preserving. That means that our purpose as salt is to fight evil and sin. Our purpose as light is to defend right and truth.

Matthew 5:13-16