Slots and ports are physical connection points that allow the hardware of a computer to be expanded. Aport is a socket. A slot is a dock for a printed circuit board.
slots are those in which we can connect hardware directly like ram slot and ports are those in which the hardwares are connected through a wire like VGA port