Liquid is Shopify's templating language: HTML with braces and tags mixed in. Shopify runs it on its servers, drops in the real data (titles, prices, the shop name), and sends finished HTML to the browser.
{{ shop.name }} {# prints a value #}
{% if product.available %} {# decides what renders #}
In stock
{% endif %}
Two things do almost everything: {{ ... }} prints a value, {% ... %} makes decisions and loops.
Liquid is not JavaScript. It runs once on the server, then it's gone. Anything interactive (a click, a fetch) is JavaScript, you'll meet it later.