That's too big a question for this type of forum! There are many uses for each of those words.
Let me just touch on a few aspects of the answer.
1. As an object of a verb, someone is generally used in assertive sentences, anyone in all others (negations, questions). The meanings are equivalent: a person.