Difference between .exe and .dll files

.exe:

It stands for executable file format. It acts as an installer and mainly looks for the installation files either on the web or the computer. An EXE does not have a database of files.

.dll:

DLL file is a Dynamic Link Library file. It is a type of file that contains instructions that other programs can call upon to do certain things.

.exe vs .dll:

.exe
.dll
1. It stands for Executable1. It stands for Dynamic Link Library
2. There are no exported symbols.2. There are multiple exported symbols
3. It can be run independently3.It can be run dependently
4. It can't be reused by other applications4. It can be reused by other applications
5. An .exe file creates its separate process and memory space.5. A .dll file shares the same process and memory space of the calling application.