A vga adapter bridges older display hardware to newer screens, or the other way round, and it is usually the cheapest way to keep a working monitor or projector in service.
The thing to know is that VGA is an analogue signal and HDMI is digital, so going between them needs electronics rather than wiring. A vga to hdmi adapter has a chip inside doing the conversion, which is why it costs more than a plain plug-shape adapter and why some need USB power.
VGA also carries no sound at all. If the source is VGA and you need audio at the screen, it has to travel separately — most converters take a 3.5mm input for exactly that reason, and a plain vga adapter with no audio input cannot do it.