Custom commands are user-defined functions added to Cypress’ cy object to simplify repetitive tasks.