A DLL file refers to a Dynamic Link Library. The computer library contains a set of functions called by PE executable file (.exe). If you replace a function of a common DLL library that contains the original functions and a virus payload, some programs could be initialized with the virus.