Both some and any suggest an indefinite number or amount of something.
Some is more common in affirmative clauses.
Any is used in questions and negative clauses.
Examples of some and any
– I need some bread.
Examples of some and any in Q&A
Question: Have you got any bread?
Answer: Sorry, I haven’t got any bread.