Cosmetic surgery and plastic surgery are closely related but have slight differences. Cosmetic surgery primarily focuses on improving the appearance and enhancing aesthetics, while plastic surgery encompasses both cosmetic procedures and reconstructive surgeries to restore function and reconstruct body parts affected by trauma, disease, or congenital abnormalities.