Both some and any can be used with count nouns (such as "book") and non-count nouns (such as "water"). This table shows one difference between them. There are more differences which you will learn about later in your course.
is used in positive statements.
Examples: John gave me some money. We bought some candies.
is used in negative statements.
Examples: She didn't have any money. I couldn't find any books.