Keywords are predefined words in a programming language that carry special meaning and are reserved for compiler use only. They can not be used as identifiers. Identifiers used within the predefined libraries are also no keyword. For example class, int, while, for are keywords while println, main etc are not keywords.
All keywords are reserved words but some reserved words like true, false and null are not keywords as they are literals for specific use.