Computers perform four main functions: input, processing, output, and storage. Input devices like keyboards and touchscreens allow entering data, while output devices such as monitors, printers, and speakers display or present information to the user. Processing is handled by the central processing unit (CPU), while data is stored either locally in memory or on storage devices like hard drives or remotely in the cloud. Ensuring proper ergonomics is also important for health and comfort when working with computers.