Explanation:
Inspite of having similar intermolecular forces, CS2 has a higher boiling point than CO2, since it has a greater molar mass. The potential energy of molecules reduces until a certain level as they get closer to each other. Although the polarity of both CO2 and CS2 are cancelled because of their linear structure.