Redundancy in computer science refers to the inclusion of extra information or resources in a system in order to improve its reliability, availability, or performance. It is a technique used to ensure that the system can continue to function even if certain components fail or unexpected events occur.