What is the difference between equals() method and == operator [on hold]

I am new to programming I learned some of the basic programming functions for simple programs but I have a question in my mind What is the difference between equals() method and == operator in any programming language.