Something (pronoun): An indeterminate or unspecified thing, amount or extent
- We all remembered something of their visit.
- She was a biology teacher, but she knew something about physics.
Anything (pronoun): Any object, occurrence, or matter whatever.
- Do you have anything you’d like to say?
- I will have anything to eat.
We use something in affirmative sentences.
We use anything in negative sentences and in questions.