Answer:
The Lewis structure of carbon dioxide (CO2) shows that there are two double bonds between the carbon and the two oxygen atoms. Each double bond consists of two shared electrons, so there are a total of 4 shared electrons between carbon and each oxygen atom. Therefore, the total number of electrons being shared in the molecule is 8.