DLL injection is a technique used to run code within the address space of another process by loading a dynamic link library.
DLL injection is often used to enhance functionality of existing software, monitor for cybersecurity purposes, debugging and troubleshooting, or by malware.
https://en.wikipedia.org/wiki/DLL_injection