You smile because the body has a sense of happiness, which activates your nerves and pulls your mouth into the most relaxing state possible: the smile!
You smile when you are happy or trying to prove you are happy to people around you. Smiling is actually important, believe it or not. It shows you respect what someone is saying, doing, etc. It is easiest to smile, believe it or not. At first, frowns seem easier.