Carbon monoxide detectors should be placed near sleeping areas, on every level with fuel-burning appliances, and near attached garages without being right next to appliances.
The best smoke detector depends on your layout and needs, but most homes benefit from photoelectric or dual-sensor alarms, sometimes with interconnect or smart features.