Recording directly through my laptop

What do I need to record to laptop

Hi there,
I currently record to a BOSS BR8 recording device and get good quality .wav digital files that I import into N-Track that is located on my laptop. This works great.

However, there are times I would love to record directly into my laptop.

My laptop is a newer Del Latitude E4310/2.67GHz/4Gb Ram Win 7 Professional.

However, it is a bit limited in ports and shares the Mic and Headphones port. I admit I am a bit ignorant when it comes to this port. How the hell can it be both an input and output port? How can I plug in a guitar and listen to it with headphones?

What do I need to purchase to be able to plug a guitar or bass or mic into my laptop with headphones and record directly into n-track?

I don’t want to break the bank, but am willing to spend money for this.

I have USB ports available.
Thank you

Check out a Focusrite Saffire 6 USB - or similar.

Line 6 UX2

Native Instruments Komplete 6…audio-6

Both are USB interfaces. ASIO Driven