Explain Briefly How The Pid Works