Syntax: Syntax refers to the set of rules that define the structure and organization of code written in Python (or any other programming language).
Interpreter: An interpreter is a program that reads and executes code line by line. In the case of Python, it interprets Python code and converts it into machine-readable instructions.
Library:A library is a collection of pre-written functions or modules that can be used to perform specific tasks. Python has an extensive standard library as well as numerous third-party libraries available for use.