Metaspace holds data such as class definitions, method tables, and constant pools. These are essential for class loading and execution. For instance, when a new servlet is loaded in a web application, its class metadata is stored in Metaspace, enabling efficient execution.