What is the difference between affect and effect?

Affect is a verb, and it means to impact or change. Effect is a noun, an effect is the result of a change. An example of each is as follows; 
"Exercising is positively affecting my health”
“Exercise can have positive effects on your health”