I am asked regularly about a good grammar reference book and the one I have been using for years is Michael Swan’s Practical English Usage. Here is a link to it below on Amazon.
If you cannot afford the book below in a million years then there are dictionary sites on line that are free and that can give some guidance. I frequently use dictionary.com, it has advertising that you have to scroll past and ignore, but it’s free and easy to use. That will at least give you parts of speech and examples, though it’s not a complete grammar guide.