What element is a diamond and the lead in a pencil?

Carbon. Diamond and graphite (pencil lead) are allotropes of carbon, meaning different atomic arrangements of the same element. They are also both covalent network solids.