User: How is an electric field produced?
Assistant: The presence of either a positive or negative electric charge produces an electric field.