A resume usually presents a selective account of your background for a particular role. It focuses on relevant work, skills, education and achievements.
In US academic and research contexts, a curriculum vitae may document a broader record, including publications, teaching, presentations and research. Employers in other countries may use CV to mean a conventional job application document.
Read the application instructions. If the employer asks for a CV but the expected content is unclear, check the role and the organization before choosing a format.