Some is used in positive statements:
I had some rice pudding for dessert.
He's got some books from the library.
It is also used in questions where we are sure about the answer:
Did he give you some coffee? (= I'm sure he did.)
Is there some fruit juice in the fridge? (= I think there is)
Some is used in situations where the question is not a request for information, but a method of making a request, encouraging or giving an invitation:
Could I have some books, please?
Why don't you take some books home with you?
Would you like some books?
Any is used in questions and with not in negative statements:
Have you got any coffee?
He didn't give me any coffee.
I don't think we've got any coffee left.
SOME in positive sentences.
a. I will have some news next Friday.
b. My father has some valuable books in his bookcase.
c. John would like some help with his exams.
d. There is some butter in the fridge.
SOME in questions:
a. Would you like some help?
b. Will you have some more roast chicken?
ANY in negative sentences
a. She doesn't want any kitchen appliances for her birthday.
b. They don't want any help moving to their new house.
c. No, thank you. I don't want any more rice.
d. There isn't any reason to complain.
ANY in interrogative sentences
a. Do you have any friends in London?
b. Has he got any brothers or sisters?
c. Do you want any groceries from the shop?
After reading this lesson you may want to do some exercises, then click HERE.