A razor is used for shaving, while a scalpel is a surgical tool for precise incisions.