How can you hear sound from headphone from your PC?

Well if your computer doesnt have a built in speaker system, you can only use headphones or buds to hear it, unless you buy a speaker system that you can plug in.