Some, any – differences

When do we use some and when do we use any?

Some
Some:
is used with the plural form of countable nouns, and with uncountable nouns
a pen, some pens (countable noun)
some water (uncountable noun)
is used in positive sentences There is some milk in the fridge. (uncountable noun)
I did some exercises. (countable noun, plural)
is used in offers Would you like some tea? (uncountable noun)
is used in requests Could you give me some advice, please? (uncountable noun)


Any
Any:
is used with the plural form of countable nouns, and with uncountable nouns

a pen, any pens (countable noun)
any water (uncountable noun)
is used in questions Is there any milk in the fridge? (uncountable noun)
is used in negative sentences There isn't any milk in the fridge. (uncountable noun)