Why is my domain redirecting to same domain?


When looking over my site, I detected that the domain http://www.example.com redirects to example.com

Why is it doing that?
Whats the purpose of the why?
How does it affect my website?
How does it affect SEO?
Should I make it stop redirecting?