Watch this video about "domain of a function" and see if you can understand it. If you don't understand it, then you will just have to wait until you study "Algebra" and "Calculus" in late High School or in College.
https://www.khanacademy.org/math/algebra/algebra-functions/domain-and-range/v/domain-of-a-function-intro