Step-by-step explanation:
A structure of carbon dioxide molecule contains carbon atom at the center and each oxygen atom is placed on the left and right side of this carbon atom.
These oxygen atoms are attached to carbon atom with double bonds on each side. Therefore, it results in the formation of an angle of 180 degree.
Therefore, the shape of a carbon dioxide molecule is linear.