A prompt is an instruction, question or piece of context supplied to a generative AI model. It may specify the task, constraints and desired output format. Prompt engineering refers to designing and revising such inputs, not to the input itself.
The term became common with the spread of large language models and image generation models. Task instructions given to coding agents and descriptive instructions for image generation are also prompts.