A Section Block (lesson 7) lives inside one section's schema. A Theme Block is its own file in blocks/, with its own schema, droppable into any section.
The host section doesn't loop. It calls {% content_for 'blocks' %}, which renders whatever blocks the merchant added, each from its own file.
{# sections/feature-grid.liquid #}
<div class="grid">
{% content_for 'blocks' %}
</div>
{# blocks/feature.liquid #}
<div class="feature" {{ block.shopify_attributes }}>
<h3>{{ block.settings.title }}</h3>
</div>
The block reads its data from block.settings.<id> (settings it defines in its own schema) and must tag its root element with {{ block.shopify_attributes }} so the editor can select it.