magic methods in python are special methods that are mainly used for operator overloading In python, Dunder methods are also known as magic methods and special methods.