Why are Yawns Contagious?

This is just a mental thing it is really just a myth as far as it being contagious. If you are looking at someone yawn alot of people will subconsciously yawn as well but it is not physically contagious. Just like if you notice someone has something on their lip you might lick your lip because subconsciously you notice it and do it without thinking about it.