Atoms in a covalent bond are joined together by electrostatic forces of attraction which occurs between positively charged and negatively charged electrons that are shared.
Therefore the answer is CO2 or D because carbon dioxide is a covalent compound.