A processor, also known as a central processing unit (CPU), is the brain of a computer. It is responsible for executing instructions and performing arithmetic and logical operations.