# Module API

In Apostrophe, modules are the building blocks for a complete website or application. Whether they only extend the root module, @apostrophecms/module, or a higher-level one, such as @apostrophecms/piece-type they share a core API that supports an infinite number of use cases.