Server-side scripting produces a dynamic site: a page whose content depends on data in the incoming HTTP request. Any programming language can run on the server side, though PHP remains the most widely deployed, followed by Ruby, Java, JavaScript, Python, and others.
Typical responsibilities are session management, database interaction, dynamic HTML generation, and API serving. Web frameworks (Flask, Django, Laravel, Express, Spring, etc.) wrap a language to ease development.
Example
PHP echo page
PHP mixes HTML and code; variables start with $, $_GET is a superglobal associative array holding the query string.