I know that did is used when asking or when using a negative sentence.
— Did you play soccer?
—I didn't play soccer.
But I'm wondering whether it can be used also when we are talking about affirmative sentences.
For example, "I did play soccer" instead of "I played soccer".
It's grammatically correct?