Understanding pain and it’s purpose