An expansion slot can be considered a vacant slot that allows you to plug-in components that enhance your computing experience.
Typically, there is a dedicated slot for the CPU, the RAM, and even the storage. However, if you would like to add a GPU, you would require an expansion slot that allows you to plug the device onto the motherboard.
Thus, the expansion slots come in handy when you want to customize and build your PC from the ground up.