Both are settings that control behavior but aren’t learned from data. Env vars configure an app without changing code; hyperparameters configure training without being part of the model.