A patch is a small piece of software that updates or modifies an existing program. Patches are often used to fix bugs, add new features, or improve performance.