When do I use これ, それ, and あれ vs この, その, and あの to say "this" or "that".
example: why is it
Japanese Language Stack Exchange is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language. It only takes a minute to sign up.Sign up to join this community
これ・それ・あれ act as pronouns, while この・その・あの act as adjectives.
There is also the matter of spatial reference. これ・この refer to things close to the speaker, それ・その refer to things close to the listener, and あれ・あの refer to things away from the speaker and the listener.
Since この・その・あの act as adjectives, you must attach a noun to them. Since は is not a noun, そのはペンです doesn't make sense. An example in which その makes sense would be
それはペンです makes sense, especially if it is a pen near the listener.