
The system prompt is a hidden instruction given to ChatGPT before any user message, used to set behavior, tone, and constraints.
When you use ChatGPT on OpenAI.com, OpenAI's system prompt shapes the default behavior. When developers use the API, they write their own system prompts to customize the assistant for their product.
Reference:
TaskLoco™ — The Sticky Note GOAT