A computer is an electronic device that manipulates information, or data. It has the ability to store, retrieve, and process data. You may already know that you can use a computer to type documents, send email, play games, and browse the Web. You can also use it to edit or create spreadsheets, presentations, and even videos
https://edu.gcfglobal.org/en/computerbasics/basic-parts-of-a-computer/1/
The computer ports are physical docking points of a computer that facilitate users to connect required external devices to the computer or computer network. A connection point that acts as an interface between the computer and external devices like a mouse, printer, modem, etc. is called a port.
https://www.tutorialspoint.com/computer_fundamentals/computer_ports.htm