A mixin in Python is a class that is used to add specific functionality to other classes without inheriting from them.