Can you put headphones in a computer?

Yes - there is a jack socket built in

- to most computers.

Either used for headphones or external speakers