Fabric is a Python library and command-line tool for automating system administration tasks over SSH. It allows users to define Python functions for common operations and execute them remotely on multiple servers. Fabric has APIs for executing commands via SSH, uploading/downloading files, and abstracting servers into roles for easy management. It provides a Pythonic interface for deployment and administration of remote systems.