Comments in Python are used to add explanatory notes within the code and are ignored by the interpreter.