Visual Basic is a programming language; Visual Studio is the integrated development environment (IDE) used to write, build, debug, test, and deploy applications in languages such as Visual Basic, C#, and others.
Visual Studio provides the tools around the language: code editor, designers, compilers, debuggers, source control integration, and project templates. Visual Basic itself (the compiler, language services, templates) is delivered as part of Visual Studio via workloads, not as a separate paid product in this scenario.
When the free Visual Studio Community edition is downloaded and installed, Visual Basic support is available at no extra cost. During installation, select the .NET desktop development workload so that Visual Basic project templates (such as console apps and Windows Forms apps) and the necessary tooling are installed.
Visual Basic does not need to be purchased or installed separately when using Visual Studio Community; everything needed to write Visual Basic apps is included once the appropriate workload is chosen.
References: