Look for a FAQ or pinout information online that pertains to the specific series of battery / laptop that is to be involved. The pinout and charging requirements vary significantly depending on the particular series of battery and laptop involved.
In general most laptops will use lithium ion cells similar to the 18650 type in the battery pack. The pack should be labelled or documented with its nominal DC output and/or charging voltage, nominal current ratings for discharge and/or charge, and similar usage information such as temperature limits et. al.
Typically you'd charge such a lithium ion cell to a maximum of 4.20VDC with a more conservative end of charge voltage being in the ballpark of 3.75V DC.
The pack will contain some number of series connected cell groups and each of those cell groups will have one or more cells in parallel at each stage. So a 4S1P pack will have 4 series connected elements with each element having 1P or 1 cells in parallel. A 5S1P or 4S2P or 3S1P pack configuration isn't impossible.
Generally if you take the nominal listed battery voltage (e.g. 15V) and divide by 3, or 4, or 5 and you get a voltage that's close to 3.75V or 4.20V after the division, that'll tell you the number of series cells in the pack due to each series cell being listed with that nominal voltage value and the pack voltage being the multiple of so many series connected cells.
You'll have a pack positive power connection, a pack negative power connection, and usually one or two connections for a NTC thermistor which is mounted adjacent to the cells for the purpose of monitoring the pack core temperature. Charging or discharging should not be done outside of the listed operating range, e.g. -10C to +45C or whatever, and the powered circuit should use that thermistor sense connection to verify that the cells aren't outside of those temperature ranges at all times when the pack is to be used.
There may also be a "smart battery" set of connections following the SMBUS smart battery specification protocol -- DATA, CLOCK, GROUND. These connect to a gas gauge / protection IC in the pack and that protection circuit provides two or more levels of protection for over temperature charge/discharge, under temperature charge/discharge, over current charge / discharge, over voltage charge, under voltage discharge, and related functions.
If you operate the discharge and charge circuits within the limits set by the pack integrated protection IC you may be able to use the battery with a "dumb" load and charger so long as no protection limit is violated. If you violate some protection or safety limits the protection circuit may temporarily or permanently suspend or lock out either or both charging or discharging. For host/operator soluble conditions like an empty battery that is not unsafely undervoltage it'll usually just lock out discharge until charging is performed beyond some recovery threshold. To prevent overcharge it'll cut off charging current until the pack is discharged below a threshold etc. There are charge/discharge control FETS and fuses and a PTC protector and a current measurement sense resistor in series with the pack cells and your external pack power connection.
To maintain ideal safety and longevity you'll have to follow the pack's recommended and/or integrated protection / smart battery circuit's charge and discharge profiles as relate to temperature and charge / discharge current limits and state of charge. Look at the JEITA standard as well as the data sheets for common 18650 LiIon cells to get an idea about cases like high / low temperature charge / discharge, precharging, C/nnn rate charge and discharge recommendations, extended storage recommendations etc.
You may be able to access some of the details of the pack's information if you look up the safety certification test results for that pack model if those happen to be accessible.
Typically around 1A discharge currents and C/5hour charge currents (C = the mAh capacity of the pack) are reasonable. You'll generally charge at a constant current limit of say C/5 but also with a voltage limit of say N*3.75V where N is the series cell count in the pack. You can generally charge to 4.20V/series cell but that costs cell longevity and worsens storage life and recharge cycle life and makes it more likely you'll accidentally overcharge the pack if your constant charge voltage isn't precisely at or under 4.20V/cell.
See TI's web site for some gas gauge / protector product ICs like the bq20z75 et. al. to get an idea of what they do. If the pack supports it and your host can do so, using the SMBUS smart charging protocol will help you use the pack properly, though you may want to override its charging current and charging voltage limits with more conservative (smaller) values of your own.
More information --
Oh yes I'd forgot to mention that some packs have a system present line you'll need to ground to enable the pack to close its FETs. Some other packs go to sleep and perhaps open the charge / discharge FETs if the SMBUS data is inactive for too long and/or have no pull-up resistors.
I would strongly recommend against that. Some charging circuits are designed to charge a battery at a specified current. That current is chosen to be as high as possible without risking damage to the battery. If you try to charge a different battery at that current, a battery which may not be able to handle that much current, there's at least some chance it will heat up and start a fire.
In general, I wouldn't mess with Li-ion batteries unless you're very sure about the specs of both the battery and the charger. And even then, I'd be careful.
Best Answer
So are these loose cells you have? You will require a voltage limited and current limited source to charge your li-ion batteries; something such as a lab supply will do nicely but a universal supply will probably do aswell - check its specs tho!
You'd probably want to charge the cells to a max of 4.2V (Check datasheets or go lower to be safe with 4-4.1v but you'll be storing less juice tho!). Set your current limit conservatively to c/3 or something, c is the capacity of the cells so if you had 2400mAh cells, charge them at 1/3 of that so at a rate of 800mA each. Most cells let you do 1C and few do 10C or other high charge rates but best to be safe and sure when working with these and use low currents.
If you have a whole bunch of these cells in series, you'd want to be careful because of the imbalance that may occur as Thomas pointed out. This isn't an issue with single cells however.
Also for the battery monitoring chips - they'll disconnect your battery when the voltage / current are beyond safe limits but you will still need proper charging power source as the BMS will not limit current for you.