Cosmetic surgery is performed to enhance appearance, while reconstructive surgery aims to restore form and function, often after trauma or medical conditions.