Silicon is the element with valency +4 and −4, and its valency is +4 because in its outer shell there are four electrons so it can give four electrons to complete its octet, and its valency is because it can accept four electrons in its outer shell to complete its octet.