VFX stands for visual effects. CGI stands for computer-generated imagery. Both VFX and CGI are used to create images that cannot be captured by traditional means, such as photography or video.
VFX is used to create images that are not possible to capture in real life, such as explosions or special effects. CGI is used to create images that would be difficult or impossible to create in real life, such as characters or worlds.