‘Some’ is used in affirmative sentences to express quantity or degree. ‘Any’ is uses in negative or interrogative sentences. Example :
1. I shall buy some apples.
2. I shall not buy any apples.
3. Have you bought any apples?
But ‘some’ may be correctly used in interrogative sentences which are, in fact, requests. Example :
1. Will you please give me some water?