Our brain naturally tries to reduce the effort it takes to learn and store things. It does so by finding patterns in the words you learn. That's how it automatically figures out the plural, genders, verb conjugations, etc. No need to study grammar. Just keep getting input!
