Prompt engineering is the act of creating a strategic prompt for LLMs in order to provide useful information to steer the model into a specific type of answer, that can span from a simple different style of writing, to providing more context (similar to what RAG do) in order for the model to have more information and enhance its answer accuracy.